You are here: User interface > User interface rules > Harness and section forms > Dynamic Container settings

Dynamic Container settings

When you drag a dynamic container onto a form, specify settings for the default view, page context, display options, and sizing.

Field

Description

Default view

Select the type of rule you want to include: Section or Harness.

Page context

Select or confirm the page context:

  • Use current page context— Uses the class (Applies To key part) of the current section.
  • Use other context— Uses the class (Applies To key part) specified by the user.
Section Select a section or harness.
Mode Select the display mode of the dynamic container.
Single document

Select to display the dynamic contents of sections or harnesses in a single document. Only one document is open at a time. When a user opens another document, the original document is replaced.

In the single document mode, when the user navigates to another document, any Clipboard pages not needed are removed. All pages are removed from the clipboard except:

  • All requestor-level declare pages
  • pxThread
  • AccessGroup
  • Application
  • pyPortal
  • pyPortalHarness
  • pyDisplayHarness
Render as a single page Available only when the mode selected is Single Document. Select this option to refresh the main frame without reloading the entire portal or delegating control to other page.
Multdocument Select this option to present dynamic content in multiple documents. In this mode, several documents may be open simultaneously and users can navigate among the open documents using tabs or a list of recent items.
Maximum documents

Specify the number of documents for Multidocument dynamic containers. For more information on how to add a multidocument dynamic container, see the Adding a multi-document dynamic container with tab navigation article on the PDN.

As a best practice, ensure that the number that you specify as the Maximum documents for the dynamic container is the same number that you specify in the Items per page field on the recent item grid.

Use Legacy iFrame mode

Select the Use Legacy iFrame mode check box to use iframes. This is not recommended. This option is disabled by default on newly created dynamic containers. Existing dynamic containers have this option selected.

Size to content

Select this check box to allow the dynamic container to resize based on width and height of the content of the container. Otherwise, the dynamic container resizes based on the width and height of the parent frame or screen layout.

This option is enabled by default on newly created dynamic containers. You can update the existing dynamic containers by selecting the Size to content check box.