- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 05:16 AM
Hi guys,
On agile board we have a list of stories. You can open a story by clicking on a number, which if I'm not mistaken is a glide modal window. We have the same UI actions as on a regular story form, but the save and update buttons here both close the window after saving the changes. Requirement is, the save button should not close the window. After testing the UI action it seems that the 'update' function and the 'setRedirectURL' function both close the window. Is there a way to apply the changes without closing the window? Maybe as a workaround instantly reopening it after? I've tried to look up how this glide modal window is generated, but I couldn't find anything other than the html href with the link to the record, maybe it's not available for development?
Any suggestions are welcome.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2020 01:13 AM
My colleague found a solution for this:
He created a UI action, and then he updates the record through GlideAjax, that way the window doesn't get closed.
One small problem with this is, that there's no way to differentiate UI actions on regular form, and in Glide Modal window, but the functionality is working in both cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2020 05:22 AM
Hi Marton,
I doubt; if that is not what you expect; then have some custom code i.e call custom UI page with OK and Cancel button and add script in that
This would be somewhat time consuming as you will have to write, test it
Please consider marking answer as ✅Correct & 👍Helpful if you find my response worthy based on the impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2020 01:13 AM
My colleague found a solution for this:
He created a UI action, and then he updates the record through GlideAjax, that way the window doesn't get closed.
One small problem with this is, that there's no way to differentiate UI actions on regular form, and in Glide Modal window, but the functionality is working in both cases.