listbox multi-selection
I have a list of URLs that is in a dataitemlist. this is presented to the user in a list box. If they select multiple items, is the resulting object a list? can I parse the list with mylist(0), mylist(1) etc.
can I display multiple item list to the display hyperlink dialog, so they could open multiple urls from a single list of selected urls?
Jeff
-
Hi Jeff, the result of the "DisplayForm" for multiple selections in a "ListBox" will be an object. You can cast that object in an IList<Object> with the “ Cast ” activity. Once you have a list, you can iterate through it with a “ForEach” activity and access each individual URL. You can download an example from (https://data.latitudegeo.com/community/selecturlsfromlistboxandparse.zip) here . The “Display Hyperlink” activity only shows one URL. Instead, you could use another form with the hyperlink options (you probably will have to pre-define the max numbers of hyperlinks on the form).
-Alejandro0
Please sign in to leave a comment.
Comments
1 comment