Split a collection item string
I have created a collection that stores a list of layernames (title) and layer ids (id). The dropdown list in my form shows each collection item in the following format:
[{title: 'myLayerName', id: 'myLayerId'}]
I want to change the Get Form Element Items From Collection activity in my workflow to show the title value as the Label (so the user sees this value but not the id) and the id value as the Value Field Name but can't figure out how to do this. Can anyone point me in the right direction please? Thanks.
-
You haven't told us what you tried yourself, but normally you would just set the Label property to ‘title’, and the Value Field Name to ‘id’ in the Get Form Elements From Collection activity. Does this not work for you?
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire