Hello Community,
I'm not sure why, but I can't seem to figure out how to list Attribute "names" as a drop down list in the workflow presentation. I can get the Attribute "values" to populate, but not the names. Wondering if someone has a code snippet for the Action I need to create to accomplish this.
Config Element Path: Library>>Dev
Config Element Name: devDataCenter
Present the Configuration Element attribute names to user as a drop down list. (DataCenterA, DataCenterB, or DataCenterC). After user selects the "name" of the attribute, pass the attribute value back to workflow(if possible, I can also just go look up the value later if that's the only option). I'm stumbling on getting the array of names created and I might be misunderstanding the "Type" that I need (Should it be Array of String or something else?) As you can see in the image, the values would mean nothing to the user. They need the friendly name.
I realize that I can create a static list in the presentation layer and then look up the values from the config element using an action, but this will be presented in several different workflows and I want all workflows to dynamically update if we add a DataCenter. I can get around all this and make this scenario work, but I'm looking to A) learn and B) work more efficient.
It is entirely possible that I'm fundamentally missing the point of Configuration Elements as I'm pretty new to this vRO stuff.
Thanks for your help!