Skip to main content

ViewTargetResourceTemplate

Creates the entity view (designElement = resourceTable), the report and the rights for a given profile.

The scaffolding generates the following scaffoldings:

Computes a default value for resources' internal display names.

Creates a displaytable for the given entity.

Creates a ReportQuery with default Query taking all the properties of the entity.

Generates the permissions to apply a report for a profile on a given entity.

Creates the Item menu for the entity's report so that it is displayed in the report view.

Generates the permissions to view an entity type's resources.

Examples

  <ViewTargetResourceTemplate EntityType="SAB_User Profile="Administrator"/>

Properties

PropertyDetails
EntityType optionalType: String Description: Identifier of the entity type involved in the scaffolding.
Profile optionalType: String Description: Identifier of the profile involved in the scaffolding.
Property optionalType: String Description: Identifier of the property involved in the scaffolding.

Generated XML

Our example generates the following configuration:

<EntityTypeDisplayName Id="303" EntityType="SAB_User" />
<EntityTypeDisplayTargetResourceTable Id="345" EntityType="SAB_User" />
<TargetResourceReportAccessControlRules Id="369" EntityType="SAB_User" Profile="Administrator" />
<TargetResourceReportMenus Id="378" EntityType="SAB_User" />
<TargetResourceReport Id="385" EntityType="SAB_User" />
<ViewAccessControlRules Id="393" EntityType="SAB_User" Profile="Administrator" />