Item subtypes use the view mapping resources defined for their parent item types automatically. If your subtype is appended to an out-of-the-box item type, its new properties will display by default on the first tab that you see when an item of that type is selected. If the item doesn’t use tabs, the properties will appear along side the other properties in the Details pane.
For subtypes of custom item types, examine the parent types’ item mappings and item view mappings:
Locate the item mappings named for the item type. If you can’t find them, the item uses the default item mapping for all item types, and all of the subtypes’ properties will automatically display beside the other item’s properties in the Details pane (no tabs are used).
If you find item mappings, check the
attributes
property for restrictions on the properties that can display. You want to make sure that your new properties aren’t part of any restricted categories. For information on displaying properties, see Specifying Properties to Display.Also, check the
viewMappings
property of the item mapping to see if it has any item view mappings. If it does, the item’s properties are dispersed across tabs defined by the listed item view mappings. Review theattributeValues
property of each item view mapping to see if your new properties are added automatically. If not, add them manually. Again, the Specifying Properties to Display section provides guidance.
You may find that you are able to display your new properties as needed, but the view mapping model used for the item type is no longer appropriate. For example, adding a subtype that includes many new properties may necessitate adding a new tab (item view mapping) or creating an item mapping where before the default item mapping for all repository items would do. For instructions on making these changes, see Custom Item Types and View Mappings.