Answered
variable passed as map into form ,how to us it in creating symphony form
say i have a set in java whose length is not fixed and it changes with time, who do we pass this set into the form and use it to display those set values as options in drop down menu in forms created by symphony bots.
Is it possible to do so , if yes could you provide the solution in java language.
56 Views
1
Answer
13 days ago
5 days ago
Tags
Facing such error what should i do?
Error:Error parsing EntityJSON: Syntax error in template "messageML" in line 4, column 48: The left hand operand of ?index must be a loop variable, but there's no loop variable in scope with this name: answer
code:
<MessageML>
<form id="raise-ticket">
<h2 style="color:white;">Application Name</h2>
<button name="option-${answer?index}" type="action">${answer}</button><br/>
</form>
</MessageML>
you will need to programtically use the below example in a chat bot as there is reliance on
data
also being parsed into the messageML for the templating engine to loop over.