Configurable Workspace - Related Lists - Delete Confirmation

CarlJSchmidt
Tera Expert

Hi there,

 

recently, I was looking into custom buttons on related lists in Workspaces.

As describe here, creating a custom button usually requires several steps which can be summarized as follows:

  • Creating a button as a declarative action (DA)
  • Defining a payload for the DA
  • Creating a mapping between the DA and an event handler (i.e. defining what should happend when the button is clicked)

 

In the current scenario, I created a remove button (a.k.a DA) called Custom Button using UXF Client Action (see screenshot) using the default payload defintion Cascade Delete, which is defined in the Sys Plugin Agent Workspace - Declarative Actions.

The button works OOTB without the need to define any event mapping and shows the following confirmation modal:

Default Confirmation Modal.png

Please note, that the option Confirmation Required is not set for the DA:

DA Definition.png

So the confirmation modal must be due to the payload defintion Cascade Delete.
If possible, I would like to adjust the title, content and button labels of the confirmation modal to look as follows:

Custom Confirmation Modal.png

 

However, so far I was not able to find the location, where the modal or its HTML code is defined.

So, the open questions I have here are:

  • Why this modal is dispalyed in the first place without having any event mapping defined or activating the option Confirmation Required?
  • Where is the modal defined and how can I adjust the modal as needed?

 

Thank you in advance for your much appreciated help!

2 REPLIES 2

ServiceNowVS
Tera Expert

Hi Carl,

Did you find any information as where to find Modal settings?

Pratiksha Lang1
Kilo Sage

@CarlJSchmidt did you find anything on this?