Add a Warning/Confirmation pop-up to an Action Button

How Can We Help?

< Back

Background

There are specific situations where a confirmation/warning dialog is required when clicking an Action Item button. The steps below show how to add a confirmation dialog to an Action Item button.

Step 1

Create the following JavaScript code in a file that will be triggered when the user clicks on the Action Item button.

Place this file in the <website>\Scripts\Custom folder in the XMPro website.

Step 2

In the properties of the activity in XMDesigner set the ‘JavaScript File Name’ property to the name of the JavaScript file. See the sample below.

Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X