How do I access the system property in UI page client script?

G Balaji
Kilo Guru

I have system property defined as TimeZone. I want to access it my in UI page client script. How do I do it?

Thanks in advance,

G Balaji

1 ACCEPTED SOLUTION

Thais Pulliam2
Giga Expert

If you want to access a sys property for example on your UI Page HTML, you can use this syntax:

<p>${gs.getMessage(gs.getProperty('property.name.here'))}</p>

View solution in original post

12 REPLIES 12

Thais Pulliam2
Giga Expert

If you want to access a sys property for example on your UI Page HTML, you can use this syntax:

<p>${gs.getMessage(gs.getProperty('property.name.here'))}</p>

But how could you access it in the client script?

Tanuj8
Kilo Contributor

i am using the below condition to hide a button in angular ng template based on true/false value stored in property. But it is not working...

${gs.getMessage(gs.getProperty('property.name.here'))}