Hello Team,
Need your input on below requirement-
Designer experience- Add question with properties, one property to choose multiple Asset template(Printer, Laptop, thermometer etc)
and based on selected template load all asset properties(Model number, is Working, RAM size, temperature, last serviced etc ) in another multi choose property and here User can select multiple properties.
Since property has its own type(number, string, boolean, date etc), Name and guid Id.
Questions based on property type will be adding on designer surface for selected properties.
Runtime experience- Loading survey/inspection for any selected Asset(e.g.Printer-123abc) Render only supporting properties as questions for (Model number, is Working and last serviced) and RAM and temperature will be hidden on runtime because these are not supporting by printer asset.
We also came across some approach So in designer we are planning to user panel question along with two new custom properties(Multi choose) 1- Asset template 2- Properties
Sharing screen shot for multi choose property which we are looking for. Please let us know if surveyjs already support such multi select property
and will also add visibleIf expression for each chosen properties(question) and we will also add one hidden question of type multi choose
and in during runtime hidden question choices will be updated with selected Asset(Printer123abc) so that expression for each properties(question) can validate Asset list and display only question(property) which match with hidden question's choices.
e.g.
"type": "text",
"name": "question2",
"visibleIf": "{question1} anyof ['item2', 'item1']"
Here question question2 is selected property(Moden number) and queston1 is hidden question
Please let me know if you need more info.
Suggestions are welcome.
Thanks in advance.
Regards,
Nitin