Data Controls Implementation Guide

Data Controls Implementation Guide

Layout Overrides

Layout Overrides

The following example shows a layout override for a Person subject area. This override allows you to choose a subset of the columns and child objects for the subject area to be displayed when the IDC control is invoked.
  • The
    name
    attribute in the
    sagLayout
    and
    saLayouts
    elements refers to the name of the subject area group and subject area in the IDD application configuration. The XML structure allows for more than one tabLayout for each subject area. For IDC controls, only the first one is used.
  • The
    tabLayout
    configures a set of columns for a primary object, child, or grandchild. Child and grandchild tabLayouts are nested in their parent
    tabLayout
    . The
    attribute on a child or grandchild
    tabLayout
    refers to the name of a child or grandchild object in the IDD application configuration.
<?xml version="1.0" encoding="UTF-8"?> <layoutConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="test" xsi:noNamespaceSchemaLocation="./
siperian-bdd-config-6.xsd
"> <sagLayout name="Party"> <saLayouts name="Person"> <saLayout name="One" compactMode="true"> <tabLayout columnNum="3"> <column columnUid="C_PARTY|FIRST_NAME"/> <column columnUid="C_PARTY|MIDDLE_NAME"/> <column columnUid="C_PARTY|LAST_NAME"/> <column columnUid="C_PARTY|BIRTHDATE"/> <column columnUid="C_PARTY|DISPLAY_NAME"/> <tabLayout name="Name"> <column columnUid="C_PARTY_NAME|NAME"/> </tabLayout> <tabLayout name="Phone" columnNum="3"> <column columnUid="C_PARTY_PHONE|PHONE_COUNTRY_CD"/> <column columnUid="C_PARTY_PHONE|PHONE_NUM"/> <column columnUid="C_PARTY_PHONE|IS_VALID_IND"/> </tabLayout> </tabLayout> </saLayout> </saLayouts> </sagLayout> </layoutConfig>

0 COMMENTS

We’d like to hear from you!