Linking presentations
Until now, we used fixed values in the presentation properties. We will now link properties to parameters.
To do this, we will create an array of strings that is filled with the operating system names and link them as a list for selection, as follows:
Edit the InstallFreshVM workflow.
Add a new array of strings in the attributes and name it GuestOS. Enter
Windows 7
andSLES 11
as values.Now, click on Presentation, select the vmGuestOsName, and add the Predefined list of elements property.
- The property looks a bit different. For starters, it's yellow, which indicates that it's a linked property. Click on Help editing OGNL, .
From all the values that fit the input parameter type (string), select the array that you have just created and click on Accept.
Now, save and run the workflow.
The linking of properties is quite useful. Just think about the fact that you can use inputs to alter the Properties settings.