- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2018 12:55 PM
Hi there,
Can you please advise how can I access variables from client script in Jelly UI page.
I'm asking user to enter some thing and just displaying it on UI page, please see below code:
Your help will be appreciated.
Thank you,
Mujtaba
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2018 02:03 PM
Hi Mutjtaba,
You cannot send the value to Jelly. Jelly is runned on server side on page load, there is no interaction possible after that using the jelly processor (other than ajax call).
To update the value, you are going to have to update the content using javascript on the client side. If you need to pass the value to the server side to get an answer, you should setup a GlideAjax call.
I know I don't provide any real solution, I'm simply pointing that you won't be able to do it with Jelly.
If you want more help to achieve the result you want, please provide more information about what you are trying to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2018 02:02 PM
Jelly is server side and your javascript prompt is client side.
Can you
- Pass in to this UI page via a URL var
- Pass in via glidedialog window call (aka prompt the user on the form where they were and came here)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2018 02:03 PM
Hi Mutjtaba,
You cannot send the value to Jelly. Jelly is runned on server side on page load, there is no interaction possible after that using the jelly processor (other than ajax call).
To update the value, you are going to have to update the content using javascript on the client side. If you need to pass the value to the server side to get an answer, you should setup a GlideAjax call.
I know I don't provide any real solution, I'm simply pointing that you won't be able to do it with Jelly.
If you want more help to achieve the result you want, please provide more information about what you are trying to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2018 02:05 PM
you are right, I can't pass variables like that. thank you for your help.