- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2023 11:57 PM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 12:16 AM
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.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2023 11:59 PM
you can store it as string only in system property and then get it with gs.getProperty('property_name'); in server side script.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 12:09 AM
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');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 12:16 AM
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.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 12:23 AM
@Mrunal Deshmukh do mark the relevant answer correct to close the thread
Raghav
MVP 2023