Access the Data Item Value Property from a users selection of the Display Property in a combo box
Hi there, I am very new to Geocortex Essentials,
I have a workflow where I have been able to create a DataItemList and populate a combobox in a form with the Display Property (which in this example is the 'Organisation Name').
The user selects the Organisation Name and this becomes the Output Argument of the form. But what I need after the form is the Value Property (which is the 'Org Id') for use further in the workflow. Im a little lost with how I get the from the Output Argument. Is it possible or is only the Display Propery value that is available?
Thanks,
Justin
0
-
No, the ComboBox returens the value, not the description.
How is your dataitemlist filled?0 -
So you have different display and a value properties for your dataitems, but are only retrieving the display properties? That is not correct behavior, the output should be returning the value property to the output (a string or object, I can't remember). I'd check my list of data items and ensure that the values are as expected. 0 -
Thankyou Nico and Zack, I now understand how this all works, I didnt realise that the dataitems Description is what is displayed in the combobox but it is the Value that is returned. 0
Please sign in to leave a comment.
Comments
3 comments