Long story short, I have been working on creating an advanced service to request a catalog item in vCAC and deploy a server. I have taken my original blueprint and re-enginered to work as a service blueprint so I can take advantage of the presentation to perform the logic than count on using XML relationships. So I have everything let up in a way that I am happy BUT I have one thing I have not been able to reproduce...
When using a blue print to deploy a vm in the storage tab you have the option to add additional storage. Click a link to add storage and then 3 boxes are presented to answer the size, letter and label question. I was able to recreate a single instance by having a check box to show hidden input parameters. That is working great for a single instance but how can I recreate that as a function that can be repeated without copying and pasting and bloating the code with several hidden properties for all the combination that might be used. I am expecting that I will need an x value as a counter to be able to increase the disk1 to disk2 ect. I originally have a pre-defined list of drive letters to choice from and I was thinking that I will need to make that an array that can have a letter removed when picked.
Anyone done anything like this that can point me in the right direction? Do you understand what I am looking to do from my description? Want to make sure I am at least exampling my use case in a way that make sense.
Cheers
Steve