When you create an item type, consider how you want the item’s properties to display in the Details pane. Options include displaying properties on tabs; making some properties read-only; and displaying only a subset of the properties. If your item type requires none of these configurations, you can use the default item mapping defined for all item types, which displays all properties in the Details pane when an item of that type is selected.
If you want to configure the property display, create an item mapping and other view mapping resources as follows:
Create two item mappings for each custom item type: one that works in conjunction with
AssetManager.view
mode and one that works in conjunction withAssetManager.edit
mode. When a user requests a page that includes the custom item type, one of these item mappings is returned containing the appropriate other view mapping objects.Provide values to the properties as necessary. Set the
formHandler property
toAsset Manager AssetRepositoryFormHandler
. Save your changes.If you want to split the display of the item’s properties across several tabs, create one item view mapping for each mode the tab supports. Then add the item view mappings of the edit map mode in the order they should appear in the Details pane. Add them to the
viewMappings
property of the item’s edit map mode item mapping. Do the same for the view map mode item view mappings and item mapping.Specify the properties that should display as described in Specifying Properties to Display.
Update the task configuration file to support your new item mapping as described in Updating View Mapping Settings in a Task Configuration File.