The CreatorCon Call for Content is officially open! Get started here.

Is it possible to have a confirm dialog on a server-side UI Action?

PaKe
Kilo Sage

Hey,

I need to have a UI Action, which has to be visible in the service portal. Therefore it has to be server-side.

But the problem is that I can't have a confirm dialog on a server-side UI Action.

Does somebody know a workaround or a solution for this?

 

Thanks!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

do you want to show button on form widget of that record?

that's correct only server side UI actions can be seen

Why not make custom button on form?

Regards
Ankur

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

View solution in original post

6 REPLIES 6

Sulabh Garg
Mega Sage

Hello

Please check below link

1) https://servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/'

2)https://community.servicenow.com/community?id=community_question&sys_id=31ba8f2ddb5cdbc01dcaf3231f96...

Please Mark ✅ Correct/helpful, if applicable, Thanks!! 

Regards

Sulabh Garg

Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

Thank you! But as soon as I check the "Client"-Checkbox the UI Action isn't visible in the service portal. I need a different solution

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

do you want to show button on form widget of that record?

that's correct only server side UI actions can be seen

Why not make custom button on form?

Regards
Ankur

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

Yeah, I want that the button is shown on the form widget.

Actually I don't want to clone the widget because I thought I could use the same UI Action for the Service Portal and the platform. 

But apparently this is not possible