Hide the Owner Column in the OwnerOf Asset List
5 min
Overview
Control which columns are displayed in the OwnerOf AssetInstanceList on user properties by configuring the DisplayFlags attribute. This allows removal of redundant columns such as Owner, which is implicit in this context.
Prerequisites
- Access to edit forms
- Familiarity with the Web.User.PropertiesFull form
- An existing AssetInstanceList bound to =/OwnerOf/Assets
Steps
- Open the Web.User.PropertiesFull form for editing.
- Locate the AssetInstanceList element that uses the OwnerOf data source.
- Modify the DisplayFlags attribute to explicitly define the columns to display, excluding Owner.
- Save the form.
Example Configuration
Default configuration:
<AssetInstanceList
ID="as_of"
DisplayFlags="DefaultOwner"
DataSource="=/OwnerOf/Assets"
EnableViewState="false"
ZeroCountTemplate="The user does not own any assets."
AllowSelect="false">
</AssetInstanceList>Updated configuration with the Owner column removed:
<AssetInstanceList
ID="as_of"
DisplayFlags="Name,Status,CostCentre,Properties,Services,ShowServiceUser,LoadListDefaults,ShowCategories,ShowDescription"
DataSource="=/OwnerOf/Assets"
EnableViewState="false"
ZeroCountTemplate="The user does not own any assets."
AllowSelect="false">
</AssetInstanceList>Result
The Owner column is no longer displayed in the asset list. All remaining columns continue to function as configured.
Additional Notes
- The default DisplayFlags="DefaultOwner" includes a predefined set of columns. To customize visibility, replace it with a comma-separated list of specific flags.
- Only the columns specified in DisplayFlags will be shown.
- The available flags include:
- Name
- Owner
- Status
- CostCentre
- Properties
- Services
- ShowServiceUser
- ShowCategories
- ShowDescription
- LoadListDefaults
- DisplayFlags must be explicitly defined to remove individual columns from the default configuration.