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.
-
Click the Edit Properties icon for
the button.
The Edit Properties window opens.
- Click the Advanced tab.
-
Select Call a service when clicked.
Select the Service Configuration you created from the menu.
- Click OK to exit the Properties windows.
- Save your application.
Results
Note: You
can use other common form events as triggers, including
validateButtonPressed. Stage action buttons cannot be used as triggers.