Confirmation popup for portal

SO10
Tera Contributor

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.

SO10_0-1694063203902.png

How can I get this to appear?
Thank you.

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@SO10 

how it's written? share the script

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Ankur Bawiskar 
Thank you for your reply.
Currently it is a simple script as below...

 

current.deleteRecord();

 

@SO10 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader