ViewTemplate
Creates the view for the given entity as well as the rights for the given profile.
The scaffolding generates the following scaffoldings:
Computes a default value for resources' internal display names.
Creates a display table for the given entity.
Generates the permissions to view an entity type's resources.
Examples
The following example implements a default display name for resources from the Directory_PresenceState entity type, displays the resources in a table, and gives to the Administrator profile the permissions to view the resources.
<ViewTemplate EntityType="Directory_UserCategory" Profile="Administrator"/>
Properties
| Property | Details |
|---|---|
| EntityType optional | Type: String Description: Identifier of the entity type involved in the scaffolding. |
| Profile optional | Type: String Description: Identifier of the profile involved in the scaffolding. |
| Property optional | Type: String Description: Identifier of the property involved in the scaffolding. |
Generated XML
Our example generates the following configuration:
<EntityTypeDisplayName Id="102" EntityType="Directory_UserCategory" />
<EntityTypeDisplayTable Id="120" EntityType="Directory_UserCategory" />
<ViewAccessControlRules Id="160" EntityType="Directory_UserCategory" Profile="Administrator" />