Ui page in UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 11:35 PM
i am filling some mandatory field on record after that click on UI Action.
In UI Action ,by using UI Page i have option to select any value as i click on ok button it shows the error.
'Leave Site? Changes you made may not be saved' .
I don't want this Leave site? alert.
How can i achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 11:47 PM
that's browser behavior.
Whenever you fill something and moving away from that page then it will show that message
Why are you using UI page from UI action?
What's your business requirement here?
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-31-2025 12:07 AM
when click on ui Action:GlideDialogWindow is open for user to select one field .
Business requirement is when click on button1 of the record should save the change value of record and from ui page selected value should be updated on related record field.
I want that when click on button1 show dialog window then i will slect the value after click on ok button save and update the current record without leave site error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 01:42 AM
this is not going to happen.
If user enters something in some field and opens the UI page and UI page is trying to reload the form from OK button then this will happen
Share your UI page code
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-31-2025 01:46 AM - edited 01-31-2025 01:47 AM