- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021 06:03 AM
Hello, I have a requirement to create popup confirm window with a hyperlink that will be triggered from a UI Action. I've accomplished creating the UI Page. Now where I'm having a problem, is there additional code in the UI Action that needs to run based on the user confirming the first popup window.
Currently, when the button is clicked, the DialogWindow opens, and the rest of the code runs automatically at the same time. (Which subsequently will open a second dialog window over the first.)
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021 06:16 AM
Here's a previous post on a very similar topic. It uses GlideModal() and renderWithContent() to achieve a very similar goal (with a bonus of having all of the HTML for the GlideModal dialog in the script itself, without having to create a separate page).
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021 06:40 AM
Thank you! This worked perfectly!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021 06:43 AM
I think the option would work when the HTML content is less.
I don't think this solution is feasible if the HTML content is huge enough.
Did you check my earlier response with the approach?
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
‎01-16-2023 05:25 AM
Hi @Frank Tate ,
I have similar issue, How to get return value from UI Page, Kindly help me with you inputs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2023 05:26 AM
Hi ,
CAn you help me on my issue please. I have same use case.
Kindly help me