Combining Relationship Tab within Another Group

After displaying a relationship as a separate tab it can be further grouped within another attribute group or a combined group.

Procedure

  1. Display the relationship in a separate tab. For more information refer, Displaying Related Records in a Relationship as a Tab.
  2. Combine two or more group tabs into single group tab. For more information refer, Combining Two or More Attribute Groups into a Single Tab.
  3. Include the relationship tab within a ’Combined Group’ and add the relationship name specified within the group tab.
  4. To add the relationship name within a group, change the record UI rendering to show a relationship tab within another group by defining the following XML in $MQ_COMMON_DIR/enterprise_name/htmlprops/recordui-render.xml.

    The sample XML is as follows:

    <recordui>

    <catalog id="123456">

    <relationshipShowAsTab>

    <relationship>

    <name>AccountToAddress</name>

    <tabname>Tab For AccountToAddress</tabname>

    </relationship>

    </relationshipShowAsTab>

    <grouptab>

    <group name="Combined Group">

    <item>Location_Details</item>

    <item>Time_Details</item>

    <item>AccountToAddress</item>

    </group>

    </grouptab>

    </catalog>

    </recordui>

  5. Save the XML file.
    • The Relationship is displayed as a separate Relationship Tab.
    • The Relationship Tab is combined within another Group.