Exrespisson for print template

I was wondering if it would be possible in a template to have a something along the lines of
if ({ENTITY DATA:Students:CName}) contains “temp” then {NOTE} else {ENTITY DATA:Students:CName}

So that If thhe CNAMe had temp in it’s name it would use the ticket NOTE value else it would just simply use the CNAME value

Yes you probably can.

I think if you place “[ ]” brackets around the line it omits when it returns blank.
Check your syntax also as it does not look right using 2 colons.
The JSCRIPT .Contains("Temp") can be appended to expressions you can see several examples I have uploaded from time to time.
:grinning:

1 Like