Chat now with support
Chat with Support

Active Roles 7.6.2 - Web Interface Administration Guide

Introduction Deploying the Web Interface Getting Started Web Interface Basics Performing Management Tasks Using Approval Workflow Customizing the Web Interface Default Commands

Configuring commands

Each command on a menu is intended to perform a certain task, such as displaying property pages for a directory object, searching for objects that meet certain conditions or assigning a certain value to a certain attribute of a directory object. You can select a command, and customize its action or associated pages.

To select a command

  1. Do one of the following:
    • On the Web Interface home page, click Customization, and then click Customization Tasks.
    • On the Navigation bar, expand Customization, and then click Directory Objects.
  2. In the list of menus on the List Existing Menus page, click the name of the menu that includes the command you want to select.
  3. In the list of commands, click the name of the command.

Managing command properties

Active Roles administrators can modify command properties. The properties of a command depend upon the command type: Form Task, Page View Task, Search Task, or Set Attribute Task.

All commands have common properties, such as the name and description of the command. In addition, each command has a number of properties determined by the command type. Thus, the type-specific properties of a Page View Task command identify the page to display; a Search Task command’s properties determine search criteria and configuration of the list of search results; the attribute to set and the value to assign are part of properties of a Set Attribute Task command. See Properties of a command for further information.

To view or modify the properties of a command

  1. In the list of menus on the List Existing Menus page, click the name of the menu that includes the desired command.
  2. In the list of commands found on the menu, click the name of the desired command.
  3. Modify the properties of the command, if needed, and click Save.
  4. Click Reload to publish your changes.

Creating or selecting a form for a command

A command of the Form Task type is associated with a form, and is used to open that form.

To create a new form and associate it with a command

  1. Select a command of the Form Task type.
  2. In the right pane, click Link with New Form.
  3. Select the type of the form to create:
    • Edit Properties  A form intended to view or modify object properties
    • New Object  A form intended to create new objects
    • Rename  A form intended to rename objects
  4. Click Next.
  5. Specify general properties of the form, such as the name and description.
  6. If you have selected New Object as the type of the form, select the type of objects you want to create by using the form.
  7. Click Finish.
  8. Click Reload to publish your changes.

You can also associate a command with a form that already exists in the configuration of the Web Interface site.

To associate a command with an existing form

  1. Select a command of the Form Task type.
  2. In the right pane, click Link with Existing Form.
  3. In the list of existing forms, click the form you want to link with the command.
  4. Click Save. Then, click Reload to publish your changes.

The list of existing forms includes only the forms that are applicable to the object type the command is intended for. For example, when you select a command from the menu for the User object type, the list only includes the forms that are applicable to User objects.

NOTE:
  • Instead of linking a different form to a command, you can modify the form that is already associated with the command.
  • If necessary, you can configure a command so as to have no form associated with it: in the list on the Link with Existing Form page, click <no assigned form>, and then click Save.

Properties of a command

Every command has a number of properties that determine behavior of the command. The command properties vary depending upon the command type:

  • Form Task  This command type is intended to display forms. When you click a command of this type, the Web Interface opens the form that is associated with that command. Then, depending on the type of the form, you can view or change the data shown on the form for an existing object or enter data on the form for creating a new object. The identifier of the form is part of the command properties (see Form Task properties).
  • Search Task  This command type is intended to search for objects in the directory and display search results. When you click a command of this type, the Web Interface performs a search based on the conditions specified in the command’s properties (see Search Task properties), and displays a list of search results. Then, you can click an object in the list to open the pages for managing that object.
  • Page View Task  Commands of this type are intended to display custom pages. When you click a Page View Task command, the Web Interface opens the page identified by the address (URL) that is part of the command properties (see Page View Task properties). For instructions on how to create custom pages, see Active Roles SDK documentation.
  • Set Attribute Task  A command of this type is intended to assign a certain value to a certain attribute of a directory object. The properties of the command specify the attribute and the value to assign to that attribute (see Set Attribute Task properties). The command can be configured to display a confirmation message prior to changing the attribute.

All commands have common properties, such as the name and description. In addition, each command has a number of properties determined by the command type.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating