- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 02:27 AM
Hi Everyone,
I want to check the ritm variable values in the client code of UI Action custom button created on catalog task form. I tried accessing variable values using "current.variables.variable_name==" and even through "current.request_item.variables.variable_name" but neither of these are working. Please suggest a way in which I can check if the variables are empty or not in the client function for UI Action.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 02:45 AM
Hello @ankita1506 ,
You can use the script include and call that script include through the Glide Ajax in the client side UI action. That will help.
Please mark my answer as accepted solution and give thumbs up, if it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 04:15 AM
You may use a g_scratchpad variable for achieving this. Use a display business rule to initialize the g_scratchpad variable and then use it in your UI action code.