Is there a way to use gs.getProperty('instance_name') in the Description field of Record Producers

Brett Watson
Tera Contributor

Kia ora Community,

 

I'm building a record producer and want to include a link in the Description field which shows Dev in Dev environment, Test in Test environment and Prod in Prod environment.

 

As far as I can see from my testing it isn't possible to use scripts in the Description field. Does anyone know of a way?

 

My backup plan is to add a variable at the top of the form where I can use scripts to build a url using gs.getProperty('instance_name')

 

Thanks,

Brett

1 ACCEPTED SOLUTION

Community Alums
Not applicable

You should be able to do this.  I believe this will help you:
Allow JavaScript tags in embedded HTML (instance security hardening) 

View solution in original post

2 REPLIES 2

Community Alums
Not applicable

You should be able to do this.  I believe this will help you:
Allow JavaScript tags in embedded HTML (instance security hardening) 

Thanks Dustin, this is exactly what I was looking for, just wasn't using the correct words, much appreciated 😃