how to create a system property for a filter condition

Mrunal Deshmukh
Tera Contributor

I am developing a script for avoiding hardcore finding in update set. So using scratchpad.property for system property which has filter condition query. so how to dothat and which type should we select for filter condition in system property? 

1 ACCEPTED SOLUTION

Depends if you are using the property  directly in server side script (BR or script include) you can store it in any variable.

 

If you are using it in display BR and then you want it in any client side script, you will need g_scratchpad.

View solution in original post

4 REPLIES 4

Raghav Sharma24
Giga Patron

you can store it as string only in system property and then get it with gs.getProperty('property_name'); in server side script.

 

thanks for the solution. but do I need to use g_scratchpad as well or directly I can store it in var g = gs.getProperty('property_name'); 

Depends if you are using the property  directly in server side script (BR or script include) you can store it in any variable.

 

If you are using it in display BR and then you want it in any client side script, you will need g_scratchpad.

@Mrunal Deshmukh do mark the relevant answer correct to close the thread