VMware Cloud Community
BillStreet00
Enthusiast
Enthusiast

Field values based on project

I have a single blueprint used by several projects. I want to be able to apply constraints to specific fields based on the project without creating a bunch of blueprints. 

For example, I have a Windows Server 19 blueprint that asks for "vmName". Project 1 allows for 8 user defined letters for the name while Project 2 wants to add the prefix "BOB-" then only allow 4 characters.

Anyone attempted this before?

Thanks

 

 

Reply
0 Kudos
2 Replies
xian_
Expert
Expert

You can do this with a custom form.

On the Constraints tab you can create a conditional regular expression, based on the project UUID:

xian__0-1638390615064.png

 

Reply
0 Kudos
BillStreet00
Enthusiast
Enthusiast

That is what I tried but I used the actual project name.  Yours seems to be more in-depth, I'll try that.

Reply
0 Kudos