MetadataConfig.xml structure for list views
The second element <ishlistdef> of the MetadataConfig.xml describes the list views in Content Manager Web Client.
XML description
This part describes all components to create a list view.
| XML | Description |
|---|---|
| ishlistdef | Groups all list view specifications. |
| ishlist | Contains the specification for one list view. The required attribute
On the list view you can specify default sort settings:
|
| ishlistfield | Contains all information to display the field on the list view.
The specification of the field is a combination of the following:
|
| ishfielddatatype | Indicates the type of the field in the database. It can be used on The following values link with an existing database type: Deprecated types:
In contrast with the above-mentioned values the following ishfielddatatypes does not link with a database type, but are used to link special behavior to a specific field:
|
<ishlist id="Trisoft.InfoShare.Forms.UserRoleListControl" defaultsort="UserRoleNameField" defaultsortorder="ascending" allowpaging="no">
<ishlistfield name="UserRoleNameField" ishfieldref="FISHUSERROLENAME" level="none">
<label resourceref="FISHUSERROLENAME.Text">Name</label>
<alignment>left</alignment>
<allowfilter />
<sortable />
<width>24</width>
</ishlistfield>
<ishlistfield name="UserRoleDescriptionField" ishfieldref="FDESCRIPTION" level="none">
<label resourceref="FDESCRIPTION.Text">Description</label>
<alignment>left</alignment>
<allowfilter />
<sortable />
<width>32</width>
</ishlistfield>
<ishlistfield name="UserRoleActiveField" ishfieldref="FISHOBJECTACTIVE" level="none">
<label resourceref="FISHOBJECTACTIVE.Text">Active</label>
<alignment>center</alignment>
<allowfilter />
<sortable />
<width>8</width>
</ishlistfield>
</ishlist>