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

  1. Add a Button to your form or app page from the Palette if your form does not yet have one.
  2. Select the form item widget.
    The Properties panel displays on the right side of the screen.
  3. 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.
  4. 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.

  5. Click the Inputs tab.
    1. Select a source from the Select source: window.
    2. Select a target from the Select target: window.
    3. 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.
  6. Click the Outputs tab.
    1. Select a source from the Select source: window.
    2. Select a target from the Select target: window.
    3. 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.