Workfow ComboBox initialization
Hi all,
I have a combobox on a display form. It needs to pre-populate a list of string values. On Input Data pane of the form designer view, ComboBox can take in a VB expression for input data.
I am just wondering if this is where we can initialize a combobox and how the VB expression would be created?
Thanks!
Alex
-
Hi Alex,
If you just need to provide a static list of items, you would do that in the form designer itself, but clicking on the Add/Remove items.
If on the other hand, your list is generated dynamically in a previous activity, you would use the Input Data pane as you mentioned. You would likely use a variable that has been populated in a previous activity. Look at the search for schools workflow that ships with Essentials, it shows how you can take geocode results and prepare them as input for a combobox.
Cheers,
Christian.
0 -
Greetings Christian,
Thanks for your reply to my question. However, I am afraid it didn't quite answer my question.
I have already got a few values in the combobox manually in the Display Form designer, e.g. "1", "2", ..., "10". What I want to achieve is, it would have for example "5" as the initial value in the combobox when the form is displayed.
Any other idea? Thanks!!!
Alex
0 -
Hi Alex,
There is currently no way to set one of the item as the selected one when the form loads. There is a feature request for that. It may or may not be in the next release of forms, but it's on the list.
I'm afraid that there is no work around for now....
Stay tuned,
Christian.
0
Please sign in to leave a comment.
Comments
3 comments