Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating an embedded section

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Conveniently reuse modular content in your application by embedding existing sections inside other sections. For example, you can create a section that contains summarized product information and use that content in a product list, and then reuse the section for the shopping cart.

  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the User Interface category, and then click Section.
  3. Open the section that you want to edit.
  4. Add an embedded section:
    ChoicesActions
    In a section that uses a template
    1. In the configuration pane on the right side of the window, in the header of the region in which you want to add the section, click the Add icon.
    2. In the Data display node, click Embedded section.
    In a custom section
    1. On the Design tab, expand the Structural list, and then drag the Embedded section onto the work area.
      Note:
      • If you include a section in a layout cell, ensure that the section is in an inherited class of the section that contains the layout.
      • If you include a section in a cell of a repeating layout, ensure that the section is in an inherited class of the layout.
  5. In the Section include modal dialog box, in the Page context field, define the page context for the new section:
    • To source data for the section from the current page, select Use current page context.
    • To source data for the section from a specific data page, select Use data page, and then enter the data page reference.
    • To source data for the section from a page in the clipboard, select Use clipboard page, and then enter the page reference.
    • To source data for the section from a data page that is defined by the value of a property, select Use page defined by property, and then enter the property reference.
  6. In the Section field, define the section that you want to embed in the interface by directly entering the section name or by using a property reference.
    For example: If you want to use a specific existing section, select By name, and then provide the section name.
  7. Click Submit.
  8. On the section form, click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us