Confirmation Dialog

Confirmation Dialog (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 20 October 2023 by OutSystems Labs
Confirmation Dialog

Confirmation Dialog (ODC)

Documentation
0.1.0
  1. On your Development Environment, click Add public elements. Choose ConfirmationDialog and select the ConfirmationDialog block
  2. Add a Button or a Link and name it (in the example the Button was named "Button")


  3. Implement the Button/Link action logic to execute on confirm


  4. Create a local variable to control if the popup should be displayed or not. The variable should be set by default to False


  5. Create the actions to toggle the local variable. If set to True the popup will be displayed, if set to False the popup will close


  6. Drag the Block to any place on your screen


  7. Set the ButtonId input parameter with the previously added Button/Link, IsOpen with the previously created local variable and fill the widget placeholders Header and Content with any content

  8. Set the previously created confirm logic to the OnConfirm event handler, and change the flag to close the popup in the OnCancel event handler


After completed the previous 8 steps you have your confirmation message ready to use!