Triggering a service from a button

You can use a service to add information to a form when a user clicks a button.

About this task

Procedure

  1. Add a Button to your form from the Palette if your form does not yet have one.
  2. Click the Edit Properties icon for the button.
    The Edit Properties window opens.
  3. Click the Advanced tab.
  4. 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.
  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.

  6. 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.
  7. 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.
  8. Click OK twice to exit the Service Configuration, and Properties windows.