Triggering a service from a button
You can use a service to add information to a form or app page when a user clicks a button.
About this task
Procedure
- Add a Button to your form or app page from the Palette if your form does not yet have one.
-
Select the form item widget.
The Properties panel appears on the side of the screen for the selected item.
-
Select Call a service when clicked.
A menu opens where you can:
- Select an existing service from the menu. If you select an existing service from the menu, go to step 8.
- Create a service call by clicking Add/Edit Service Configuration. To configure a service, go to step 5.
-
When you click Add/Edit Service Configuration, the Service
Configuration window opens.
Choose one of the following options:
- Select from Service Catalog
- Select from Domino Database
- Enter a URL
See Adding and configuring a service for more information about each option.
-
Click the Inputs tab.
- Select a source from the Select source: window.
- Select a target from the Select target: window.
- Click the connector icon located between the two windows to link the source and the target.
The connected source and target are shown in the Assigned Inputs section of the page. -
Click the Outputs tab.
- Select a source from the Select source: window.
- Select a target from the Select target: window.
- Click the connector icon located between the two windows to link the source and the target.
The connected source and target are displayed in the Assigned Outputs section of the page.