Modify content area content and editability
You can restrict the options for the users to change predefined content in content areas. In addition, the number and caption of content pages can be changed in the class settings.
- Go to the Presentation tab.
- In the explorer, expand the nodes Class Settings > the object class (stereotype) you would like to edit > the class settings you would like to edit.
- Right-click the Content Area node and select Modify Content Area.
- Select the content area from the list.
- Click the content area and edit the attributes. Setting of all attributes is optional. You can do one of the following:
- Define a caption for the content area.: Enter a caption in the Captionattribute to overwrite the standard caption defined in the content area configuration.
- Restrict the ability of the user to change content items. If you want one of the following options to be available under specific circumstances only, you can create a condition configuration object that is testing whether the specific circumstances apply. You can then select the condition object in the respective attribute. The option will be available if the condition applies. For example, a button shall only be visible for users in user group B. The condition checks the user group configuration for the current user at runtime and hides the button if the user is not member of user group B. You can define the following options for changing content areas as conditional:
- Enable Add Content to Page: If the condition does not apply, the Manage Content on Page option is hidden from the three-dot menu of the content area.
- Enable End User Created Pages: If the condition does not apply, the Add New Page option is hidden from the three-dot menu of the content area.
- Show the 'Hide View' Option on Content Items: If the condition does not apply, the Hide View option is hidden from all content items of the content area.
- Hide or rename content pages. Right-click the content area node in the explorer, select Modify Content Page, and select the content page you would like to modify. Click the content page node and either change the caption with the Caption attribute or set the Access in User Interface attribute to NoAccess to hide the content page.