Using Access Elements in the XML

Access elements in the XML can be used to control access to subordinate items on custom menus and toolbar buttons.

Procedure

  1. Open the userAccess.xml file, either in the Configuration Administrator or in the file system, depending on whether the application has been deployed or not (for more information, see Configuring Access Sets by Editing XML).
  2. In the desired user access set, add an access element, for the subordinate item, under the access control for the custom menu or toolbar button. For example:

Result

   <access name="CustomAccess">
      <access name="CustomMenuAccess">
         <access name="menu">
            <access name="WorkItemList">
                <access name="StartAnyBusinessService"></access>
            </access>
         </access>

Note that a sample application is provided that illustrates creating subordinate items for custom menus and toolbar buttons, as well as controlling access to those items; see User Access Sample Application.