Creating a logout button


The following procedure demonstrates how to associate a Run Process active link action with a Logout button. For more information, see Defining-Run-Process-actions-to-run-processes-programs-or-commands.

To create a logout button

  1. In Developer Studio, open a form.
  2. Disable the default Logout button in the View Properties tab.
    1. In the form Properties tab, select Menu Access > Accessible Menu Items.

      Tip

      The Properties tab dynamically displays properties associated with the activated element. If you do not see Menu Access listed in the Properties tab, a field might be selected. Click the background of the form to select the form, and display form Properties.

    2. Click in the Value column to reveal the Ellipse button.
    3. Click the Ellipse button.
    4. In the Accessible Menu Items dialog, click to deactivate (remove checkmark) Logout.
      SK_Developing_Superbook-333.gif
    5. Click OK to close the dialog.
  3. Create a Logout button on the form.
    1. Right-click the form, and select Create a New Field > Button.
    2. In the Properties tab, change the Name and the Button Label to Logout.
  4. Save the form.
  5. Repeat these steps for each view.
  6. Create an active link that is associated with the form and has the following properties:

    Execute On condition

    Button/menu command

    Execute On field

    Logout

    If Action

    Run Process

    Command Line

    PERFORM-ACTION-EXIT-APP

  7. Save the active link.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*