Add the Custom Property "Vrm.DataCenter.Location" to the Blueprint and then to the Custom Form.Drink coffee.. Do stupid things faster with more energy...
Ok so I created a custom property in vRA and added it to the blueprint.
What I noticed is that when creating the custom property as a dropdown and defining all my locations there, it shows up as a textfield in the custom form.
If I change the field on the custom form to a dropdown box, I need to re-add my locations. After doing this and requesting the blueprint, it says someting like "the value is not in the expected range".
I changed the custom property to a textfield and left the field in the custom form as a dropdown.
The request is submitted but then the deployment fails with the error: Placement request rejected. No supported candidate reservations exist for one or more components of blueprint request.....
As far as i know you must always add the values in the Custom Forms Designer because they are not using the settings from the Custom Properties itself.
Are you sure, that the Dropdown matches the Values in the DataCenterLocations.xml?
For Example if this is your xml:
<Data Name="Value_DC01" Description="Description_DC01" />
<Data Name="Value_DC02" Description="Description_DC02" />
the constant values in the custom forms dropdown should be:
Description_DC01|Value_DC01,Description_DC02|Value_DC02Drink coffee.. Do stupid things faster with more energy...
You need to also be using reservation policies. Starting with vRA 7.3 (I think), the location doesn't work by itself. You must have reservations tagged with reservation policies. The location will then filter based on those.
Ok, it's working, thanks!
I forgot to uncheck the box Display location on request in the blueprint...