Confirmation popup for portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2023 10:13 PM - edited ‎09-06-2023 10:15 PM
Hi all.
I have added a UI Action button to delete a record to the CSM portal's form.
When the button is clicked, I would like to appear the following confirmation popup message, but this does not work in the portal.
How can I get this to appear?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 12:19 AM
how it's written? share the script
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 01:21 AM
@Ankur Bawiskar
Thank you for your reply.
Currently it is a simple script as below...
current.deleteRecord();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 01:31 AM
on portal you cannot run client side UI actions
Check this link has workaround
How To: Enable Client Side UI Actions on Service Portal (OOTB Form Widget, No Clone required!)
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