Adaxes HelpShow AllHide All

Creating Custom Command

You can define your own commands to perform custom tasks. Users can execute such Custom Commands in the same way they execute other operations.

To create a Custom Command:

  1. Launch the Adaxes Administration Console.

  2. In the Console Tree, expand the service node you need (the icon represents service nodes).

  3. Right-click any object under the expanded service node, point to New, and then click Custom Command.

    -or-

    Click on the toolbar.

  4. In the Custom Command Creation wizard that starts, type a name, select an icon and specify optional description for the new Custom Command.

  5. Type the text of confirmation to be displayed, when the Custom Command is initiated. If you don't want any confirmation to be displayed, leave the Confirmation field blank.

    [Tip]Tip

    If you do not need this Custom Command to be available immediately after its creation, clear the Enabled check box.

  6. Click Next.

  7. In the Object Type page, select the type of objects, for which the new Custom Command will be available. Click Next.

    [Tip]Tip

    If you select the User object type, you can select if this Custom Command will be available for InetOrgPersons too. To do so, select the Apply to InetOrgPerson as well check box below.

  8. In the Actions page, click Add Action and select an action that will take place when the Custom Command is initiated.

  9. Define the appropriate action parameters and execution options and click OK.

    [Tip]Tip

    For more information, see Actions and Conditions.

  10. To add actions and conditions to the created set, select the set and click the Add Condition or the Add Action icon.

    -or-

    Right-click the created set and select Add Action or Add Condition from the context menu.

    [Tip]Tip

    If you create more than one condition, they are combined by the AND/OR operator. To change an operator, just click it.

    [Tip]Tip

    To edit an action or condition, right-click it and select Edit Action or Edit Condition from the context menu.

  11. To create a new set of actions and conditions, click Add action to a new set below.

  12. Click Next.

  13. In the User Permissions for this Command page, click Select Roles and specify the Security Roles that will grant permissions to execute this Custom Command.

  14. Click Finish.

[Note]Note

It is not necessary to select the Custom Commands container in the Console Tree to create a Custom Command. Just right-click any object in the Console Tree or Results Pane, when connected to the service, then point to New, and click Custom Command.

[Note]Note

You can group Custom Commands in containers. To do so, right-click the Custom Commands container in the Console Tree, point to New, and click Container. To create a Custom Command in a certain container, select the container in the Console Tree, right-click it, then point to New, and click Custom Command.

See Also