vRA Property Groups - Misc

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/07 at 09:36 AM

 

Category:
VMWare
VRo - VCAC

Math and String Operations:

Reference another property (blueprint property):
{{propertyname}}

Reference a property and modify it:
{{propertyname | upcase}}

If/then w/a property:
{% if propertyname =='a' or anotherpropername =='b' or propertyname ==''}firstvalue{%elseif propertyvalue == 'b' %}secondvalue{% else%}notfound{% endif %}

Example operations:
capitalize
downcase
endraw
replace: '.','' | substring: 0,2
slice: 0,3
slice: -3,3
substring: 0,1
upcase


Misc:
Use | to pass/pipe through, like Linux OS.


Use SovLabs Template Tester to test the if/then logic.



previous page