A tab on a Web Interface page can be either visible or hidden. If a tab is visible, the Web Interface user can click the tab to access the user interface elements (entries) located on that tab. If a tab is hidden, it is inaccessible to the Web Interface user.
Normally, if a Web Interface user has sufficient rights to view the page that holds a given tab, the tab is visible to that user. However, certain scenarios may require a particular tab to be hidden or displayed on a page depending on the properties of the object selected by the user to access that page. For example, you may need to hide the Membership Approval tab on the group’s General Properties page when the user selects a group whose properties meet certain conditions. Another requirement could be to hide or display a tab depending on whether the user is authorized to make certain changes to the selected object. For example, it may be required that the Membership Approval tab be hidden if the user does not have sufficient rights to change the members list of the group.
To address these requirements, the Web Interface provides a number of options that control the visibility of a tab to the user. The visibility options on a tab take the form of conditions that are evaluated when a particular user selects a particular object in the Web Interface to access a page containing that tab. The tab is displayed if each of the conditions evaluates to True.
By setting up the appropriate conditions on a tab, the administrator can control the visibility of the tab in the following ways:
It is possible to set up only property-related conditions, only access-related conditions, or both. The tab is displayed if all the specified conditions evaluate to True. If at least one of the specified conditions is not met, the tab is hidden.
To configure visibility options on a tab
When you select a property and supply a value, either a new condition is added to the list or the supplied value is added to the existing condition that is based on the selected property. The latter occurs if the property is already in the list of the property-related conditions. This allows you to configure a condition that evaluates to True if the property has any one of the values specified. If only one value is supplied for a particular condition, then the condition evaluates to True if the property has exactly the value specified.
When you select a property and click OK, a new condition is added that evaluates to True if the user has sufficient rights in Active Roles to make changes to that property of the object selected by the user in the Web Interface.
To create a new entry and add it to a form
Open the form in the Form Editor and click the tab to which you want to add the entry.
On the toolbar in the Form Editor, point to Add Entry and click Create.
In the Property list, click the attribute for which to add the entry, and then click Next.
Specify a name for the new entry, and then click Finish.
Click Reload to publish your changes.
|NOTE: The name of an entry is the text that labels the control or group of controls on the respective Web Interface page. For example, if an entry appears as a check box on the page, the name of the entry is displayed next to the check box. If an entry appears as an edit box, the name of the entry is directly above the edit box.
A form can hold only one entry per attribute.
To add existing entries to a form
You may need to scroll down the list of entries in order to access the Finish button.
The list for selecting an entry contains the following information about each entry:
When selecting an existing entry, consider the type of the entry. Entries of different type can have the same name and the same managed property. Since the behavior of an entry depends upon the type of the entry, selecting an entry of inappropriate type can cause incorrect results. Thus, selecting an Auto entry instead of a Custom entry will normally result in the loss of the features that the Custom entry provides in addition to, or instead of, the default features of the Auto entry. For more information, see Type of entry later in this document.
The Form Editor provides a special type of entry—text area—allowing you to add static text to a form. You can use text areas to have the form display descriptive text, such as titles, captions, or brief instructions. In the Web Interface, a text area entry only displays the text specified in the configuration of the entry. To change the text, you need to edit the entry from the Form Editor.
To add static text to a form
These steps add an entry named Text area in the Form Editor. You can select the check box next to the Text area name and use the Move Up and Move Down buttons on the toolbar to change the position of the text area. To change the text displayed by the text area, click the Edit icon next to the Text area name. When you are done, click Save and then click Reload to publish your changes.
To delete entries from a form