Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

vRA forms - Composite Types & Dynamic types

$
0
0

Hello,

 

Hoping someone else is doing crazy things with vRA that might be able to help with this.

 

I've been trying to find a way to pass a data structure like the below from vRA through to vRO:

 

An array of:

Name (string or DynamicType)

Size (number)

 

... where Name is based on a prepopulated selection. For example, Sandwiches - I need 3 Cheese & Tomato Sandwiches, and 15 Ham Sandwiches.

 

I can do this within vRO by setting the Name as a Dynamic Type - and this works well. However, when this is pulled into vRA the Array is cast into a Map control - but only shows the Size property. Any dynamic types here seem to disappear (presumably because there's isn't a suitable control within the Map - as far as I can tell, there is only a control for String, Number and Date).

 

When using an array of the Dynamic Type, the control only shows the Name of the dynamic type object.

 

Ideally what I'm after is something like the control within Storage when requesting a standard Blueprint.

 

I've had various ideas - e.g. using Name as a combination of Name-Size, but this means creating an item for every possible combination (lots!) and so having a large number of rows for selection. Also using multiple single-dimension arrays populating another - but this relies a on order. Using the sandwich example - adding 3 in the first control, then adding Cheese & Tomato in the second - the combination of which populates the 3rd control.

 

Hope that makes sense. Any ideas welcome!

 

Cheers,

Jon


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>