Creating a Multiple Tabs using view mappings
Step 1: Create "Attribute" for resource bundle ( Not required, if your RDF doesn't contain Resource-Bundle & Need not create, if u have created while doing previous exercise)
<add-item item-descriptor="attributeValue" id="MYAvRESBnd">
<set-property name="value"><![CDATA[/my/Resources]]></set-property>
</add-item>
Step 2: Create "Attribute" for Category names used in RDF.
<add-item item-descriptor="attributeValue" id="MYAvBookGenCat">
<set-property name="value"><![CDATA[BookInfo]]></set-property>
</add-item>
<add-item item-descriptor="attributeValue" id="MYAvBookDimen">
<set-property name="value"><![CDATA[BookDimen]]></set-property>
</add-item>
<add-item item-descriptor="attributeValue" id="MYAvBookAuthor">
<set-property name="value"><![CDATA[BookAuthor]]></set-property>
</add-item>
Step 3: Create itemViewMapping for all the tabs.
<add-item item-descriptor="itemViewMapping" id="MYIvmBookGeneral">
<set-property name="name"><![CDATA[AssetManager Book general itemViewMapping]]></set-property>
<set-property name="displayName"><![CDATA[Book Details]]></set-property>
<set-property name="view"><![CDATA[AmIvDef]]></set-property>
<set-property name="attributeValues"><![CDATA[includedCategories=MYAvBookGenCat,resourceBundle=MYAvRESBnd]]></set-property>
</add-item>
<add-item item-descriptor="itemViewMapping" id="MYIvmBookDimen">
<set-property name="name"><![CDATA[AssetManager Book Dimensions itemViewMapping]]></set-property>
<set-property name="displayName"><![CDATA[Book Dimensions]]></set-property>
<set-property name="view"><![CDATA[AmIvDef]]></set-property>
<set-property name="attributeValues"><![CDATA[includedCategories=MYAvBookDimen,resourceBundle=MYAvRESBnd]]></set-property>
</add-item>
<add-item item-descriptor="itemViewMapping" id="MYIvmBookAuthor">
<set-property name="name"><![CDATA[AssetManager Book Author itemViewMapping]]></set-property>
<set-property name="displayName"><![CDATA[Book Author]]></set-property>
<set-property name="view"><![CDATA[AmIvDef]]></set-property>
<set-property name="attributeValues"><![CDATA[includedCategories=MYAvBookAuthor,resourceBundle=MYAvRESBnd]]></set-property>
</add-item>
Note: displayName is what that appears as Tab Name.
Step 4: Create itemMapping for Item-descriptor in RDF using all tabs.
<add-item item-descriptor="itemMapping" id="MYImBook">
<set-property name="name"><![CDATA[AssetManager]]></set-property>
<set-property name="description"><![CDATA[AssetManager Book itemMapping]]></set-property>
<set-property name="mode"><![CDATA[AmMmDef]]></set-property>
<set-property name="itemPath"><![CDATA[/my/Library]]></set-property>
<set-property name="itemName"><![CDATA[book]]></set-property>
<set-property name="formHandler"><![CDATA[AmFhDef]]></set-property>
<set-property name="viewMappings"><![CDATA[MYIvmBookGeneral,MYIvmBookDimen,MYIvmBookAuthor]]></set-property>
</add-item>
Multiple Tabs in BCC |