- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2022 09:00 PM
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<script>
gs.setProperty('Bulk','Hello World');
</script>
</j:jelly>
I am working on some requirement where i have to set system property with some json value but this syntax is not working .
i am getting undefined value in my system property.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2022 10:13 PM
There is an alternative too.
Inside your <script> tags, use glideajax and call a script include. In the script include you can have all your server side stuff like gs.setProperty().

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2022 09:36 PM
Use <g:evaluate> tag in place of <script> tags.
<g:evaluate> is where you can write all your server-side code.
<g:evaluate var="jvar_obj" jelly="true" object="true" >
gs.setProperty('Bulk','Hello World');
</g:evaluate>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2022 09:51 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2022 10:12 PM
You can still write all your javascript code inside <g:evaluate> tags.
if-else, loops all these can be done from within <g:evaluate>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2022 10:13 PM
There is an alternative too.
Inside your <script> tags, use glideajax and call a script include. In the script include you can have all your server side stuff like gs.setProperty().