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
          SingleSectionPage Pattern

          SingleSectionPage Pattern

          The SingleSectionPage pattern describes a page with only one section, called masterSection. The entire page is visible on all devices and doesn’t split to multiple device screens. Use the SingleSectionPage pattern to display a comprehensive overview of data from different sources, such as dashboard and cockpit on a single page.

          Required Editions

          Available in: Enterprise, Performance, and Unlimited Editions

          The table lists the SingleSectionPage pattern attributes.

          Attribute Description Data Type Required?
          pagePattern Application-wide unique identifier for the contract String Yes
          simpleEditorOnly Only Simple XML is available for the contract and prevents opening contract in editor in case of unsupported features. String No
          PageHeader Defines the file name of the relevant XML schema definition String Yes

          Here’s an example snippet of the SingleSectionPage pattern.

          <UIDescription name="Application::DashboardDecisionUI" schemaVersion="0.0.0.5" xmlns="UISchema.xsd">
           <Page pagePattern="SingleSectionPage">
          <Section sectionName="masterSection" sectionPattern="DashboardSection" showInfoArea="true">
             <Bindings>
              <Resource target="LogoIcon" type="Image" id="LogoSalesforce" />
              <Resource target="AltLogoIcon" type="Image" id="EmptyImage" />
             </Bindings>
             <Area areaName="welcomeArea" areaPattern="WelcomeArea">
              <Welcome name="Welcome">
               <Bindings>
                <Resource target="Welcome" type="Label" id="welcome" defaultLabel="Welcome" />
                <Binding target="User" type="Text" binding="ApplicationContext::User.name" bindingMode="ONE_WAY" />
               </Bindings>
              </Welcome>
             </Area>
             <Area areaName="buttonGridArea" areaPattern="ButtonGridArea">
              <ImageButton name="SalesRepButton">
               <Bindings>
                <Resource target="Image" type="Image" id="MenuClipboard" />
                <Resource target="Text" type="Label" id="SalesRepDashboardId" defaultLabel="Retail" />
               </Bindings>
               <Events>
                <ButtonPressedEvent event="openSalesRepDashboard" />
               </Events>
              </ImageButton>
              <ImageButton name="PromotionApproverButton">
               <Bindings>
                <Resource target="Image" type="Image" id="MenuTag" />
                <Resource target="Text" type="Label" id="PrmApproverDashboardId" defaultLabel="TPM" />
               </Bindings>
               <Events>
                <ButtonPressedEvent event="openPromotionApproverDashboard" />
               </Events>
              </ImageButton>
             </Area>
            </Section>
           </Page>
          </UIDescription>
          
           
          Loading
          Salesforce Help | Article