Menu selection input
This guide will take you through how to set up a menu selection input.
Prerequisite data
No connectors will be used in this example, but data from table steps will be utilized. Please download the file below; it will be used to import into the required table steps
Add a menu selection input
Open an existing application or create a new one in an application package and open it in the Designer.
Add a User step.
Add a Table step.
Open the Table step and select Import File.
Choose the semicolon separator and click OK.
Select the "List selection.csv" file downloaded in the prerequisite section above.
Set the table variable name to "Articles" and click OK.
Change the step name to "Articles". It's good practice to name steps after their content.
Right-click on the "Articles" step, select Add data arrow, and connect it to the User step created in step 1.
Open the User step.
Add a Menu Selection input.
In the Target Variable, write "article".
Under Data Source, in Table Variable, choose the table "Articles".
Under Appearance, in Prompt, write "Choose an article".
In Large Row Text, write "{Name}".
Under behaviour, set the Field to Select to "{Name}".
Click the Play button in the top right-hand corner to run the application in diagnostic mode.
Add configuration
The Menu selection input enforces a selection by not giving an empty option. If you wish to leave the variable empty, you need to add an Empty Option.
Go back to the Designer.
Under the Empty Option section, check the "Show Empty Option" checkbox.
Set the Text of Empty Option to "Not applicable".
Check the "Allow Empty Option Selection" checkbox.
Run the application in diagnostic mode again.
You can also set a default value to display the value you wish to highlight.
Under Behaviour, in Default Value, write "{"Small box"}".
Click the Play button in the top right-hand corner to run the application in diagnostic mode.
Condition to hide
In the Condition To Hide, write “{userId = “your user id”} (the user Id you log in to Connect with)
Run the application in diagnostic mode again.
Last updated