List Box Display Field
Is it possible to show multiple fields in the "Display field" from the query in a list box?
-
Hi Dan, it is possible to do it, but you have to build the DataItem list to show on the TextBox before presenting the Form. To do this you have to query the layer for the attributes you would like to show (the query will return a FeatureSet and from there you can have a list of graphics). Then you have to iterate through them and build the list of DataItems as you would like it to be (by concatenating any attributes for example). Then, on the form, you can display the list on the InputData instead of configuring the query in the ListBox.
You can find an example (https://data.latitudegeo.com/community/multiplevaluesontextbox.zip) here .
Hope it helps,
-Alejandro
0 -
Thank you Alejandro!
0 -
I'd like to take a look at this example, but its gone!
Could you please provide it again?0 -
Sorry about that! You can now find the workflow (https://data.latitudegeo.com/community/multiplevaluesontextbox.zip) here . 0
Please sign in to leave a comment.
Comments
4 comments