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

I should create another function in that Script Include. Am I right? -Yes

 

I added a if condition in one of the function and it works as expected. Thanks.

I hope your query is been answered, please close this thread by marking on correct answer. then only this will be helpful for other community users.

If i have answered to your query please mark my response as Helpful & correct answer.

Let me know if you need more help.

Hi Chandu,

 

We have got a similar requirement but the asynchronous GlideAjax returns the value after the page is being rendered which is not expected.Tried calling g_scratchpad but haven't had any luck though.

 

Any suggestions are truly appreciated.

 

Regards,

Zabeeulla.

Ashutosh Munot1
Kilo Patron

HI,


Why dont you create getMessage in Client script.

 

Thanks,
Ashutosh Munot