Creating the PDF trigger
The following instructions describe how to create a trigger that calls the PDF service, and triggers the service when the user clicks the button.
About this task
Procedure
- Add a Button to your form from the Palette.
-
Change the Caption of the button
so users know that clicking it populates a PDF.
For example, change the caption of the button to Create PDF.
-
Select the widget in the form.
The Properties panel displays on the side of the screen.
-
Select Call a service when clicked.
Select the Service Configuration you created from the menu.
- Save your application.
Results
Note: You can use other common form events as triggers, including
validateButtonPressed. Stage action buttons cannot be used as triggers.