Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          MasterDetailSectionPage Pattern

          MasterDetailSectionPage Pattern

          Use the MasterDetailSectionPage pattern when data in one section influences data in another section. The two data sources must be linked to other data in the process context. A typical use case is a list view that contains overview data and a detail section that contains information about the selected item.

          Required Editions

          Available in: Enterprise, Performance, and Unlimited Editions

          The MasterDetailSectionPage pattern has two required child sections: MasterSection and DetailSection. When the data in MasterSection changes, an event is triggered to notify DetailSection of the change.

          The table lists the additional attributes for MasterDetailSectionPage.

          Attribute Description Data Type Required?
          pagePattern Application-wide unique identifier for the contract String Yes
          masterSectionFlex Display ratio of the master section, and required only if detailSectionFlex is defined int Yes
          detailSectionFlex Display ratio of the detail section, and required only if masterSectionFlex is defined int Yes
          selectFirstItemInList Prevents the selection of the first list entry (for Tablet only) Boolean No
          switchToDetail Prevents flipping to the detail area (for Phones only) Boolean No

          Here’s an example snippet of the MasterDetailSectionPage pattern.

          <UIDescription name="Example::MasterDetailSectionPageUI" schemaVersion="0.0.0.5" xmlns="UISchema.xsd" layoutType="blank">
           <Page pagePattern="MasterDetailSectionPage" navigation="Off" masterSectionFlex="40" detailSectionFlex="60" selectFirstItemInList="true" switchToDetail="true">
            <Section sectionName="masterSection" sectionPattern="SingleAreaSection" />
            <Section sectionName="detailSection" sectionPattern="SingleAreaSection" />
           </Page>
          </UIDescription>
          
           
          Loading
          Salesforce Help | Article