Jedox Web Actions: Close
In some special circumstances, like when a report is built to look like a form with input fields, the designer might need to add a cancel or close button to the report. In prior versions of Jedox, a macro script was required to execute this process, but now designers can easily add this feature with the Close action. Note: the execution of the Close Action is disabled in the User Preview mode.
You can use the Close Action in both the Jedox Spreadsheet and Canvas. To set this Action up in a spreadsheet, start by selecting a form element such as a Button, Checkbox, List, DatePicker, or Combobox. In Canvas, you should add a native component that supports Actions, such as a Combobox, Button, or Checkbox.
Below are the steps for configuring the Close Action for a Button in a spreadsheet. These steps are also applicable for setting up this Action in Canvas.
- In the Insert menu, click on the Button icon.
- Click on the Actions tab and click on Add action. Select theClose Action.
- The next dialog offers several options for the Action. Using the close button, you can close the Action, and by clicking on the Bin icon you can delete the Action.
- Label and format the button as desired.
Once the Close button is ready, clicking on it in a report results in the following pop-up dialog:
The Close Action does not have any further functional settings.
Close Confirmation dialog
When you choose the Close Action in the Type of action dropdown menu, you can see the Confirmation dialog option at the end of the Action dialog.
In the Confirmation dialog, you can customize a confirmation message for the end user. You can add a Title, Body, Primary button label, Secondary button label, and an Icon to your customized message. The screenshot below shows a confirmation message:
Action failure
You can choose between two options in case an Action fails. First, choose to show a pop-up feedback dialog, and second, ignore the failure and go to the next Action.
Updated December 9, 2024