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

          SingleSectionDialogPage Pattern

          Use the SingleSectionDialogPage pattern to display a section in a popup dialog. The SingleSectionDialogage pattern allows only one section, called the masterSection.

          Required Editions

          Available in: Enterprise, Performance, and Unlimited Editions

          The table lists the SingleSectionDialogPage attributes.

          Attribute Description Data Type Required
          pagePattern Defines the pattern of the page String Yes
          onBackDiscard Changes the discard handling for wizards Boolean No (default FALSE)

          Here’s an example snippet of the SingleSectionDialogPage pattern.

          <UIDescription name="DailyReport::TimeEntryTypeUI" schemaVersion="0.0.0.5" xmlns="UISchema.xsd" layoutType="blank">
           <Page pagePattern="SingleSectionDialogPage">
            <PageHeader>
             <Bindings>
          	<Resource target="title" type="Label" id="TimeEntryTypeLookupTitleId" defaultLabel="TimeEntry Type" />
             </Bindings>
            </PageHeader>
            <Section sectionName="masterSection" sectionPattern="SingleAreaSection">
             <Area areaName="mainArea" areaPattern="SingleElementArea">
           <GroupedList name="TemplateList" indexBar="true" searchable="true" dataSource="ProcessContext::TemplateList.Items[]">
               <Items name="Items" itemPattern="TimeEntryTypeOverviewItem">
                <Bindings>
                 <Binding target="Id" type="Text" binding=".id" bindingMode="ONE_WAY" />
                 <Binding target="Name" type="Text" binding=".text" bindingMode="ONE_WAY" />
                </Bindings>
                <ItemListLayout>
                 <Col>
                  <Row layoutType="itemTitle" bindingId="Name" />
                 </Col>
                </ItemListLayout>
               </Items>
               <Events>
                <ItemSelectedEvent event="itemSelected">
                 <Params>
                  <Param name="pKey" value=".pKey" />
                  <Param name="id" value=".id" />
                  <Param name="text" value=".text" />
                 </Params>
                </ItemSelectedEvent>
               </Events>
               <SearchAttributes></SearchAttributes>
              </GroupedList>
             </Area>
            </Section>
           </Page>
          </UIDescription>
           
          Loading
          Salesforce Help | Article