You are here: User interface > User interface rules > Harness and section forms > Harness and section forms - Adding a Dynamic Container

Harness and Section forms - Adding a dynamic container

Use dynamic containers to present cases and worklists in composite portals. You can configure a dynamic container in the following modes:

  1. On the Design tab, click the Layout control group and select Dynamic Container.
  2. Drag it into the section. The Dynamic Container settings dialog box appears.
  3. Specify a mode, complete the Dynamic Container settings, and click OK.

Adding a multi-document dynamic container with recent list navigation

  1. Add a dynamic container in the Multi document mode.
  2. Include pxRecent in a separate section that lets users navigate between documents using the recent list of documents opened. For instructions on how to do this, see Displaying a list of recent items in your applications on the PDN.

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

Adding a multi-document dynamic container with tab navigation

Using a dynamic container, you can present multiple documents in a tab group, comprising layouts, sections, or harnesses.

To add a dynamic container to a tab group, create the Tab layout and then add the dynamic container:

  1. Click the Layout control group and select the Tab control.
  2. Drag it onto the form.
  3. From the Layout group, select Dynamic Container.
  4. Drag the dynamic container into the tab group and place it on the tab border. Release the mouse pointer. The new tab ( labeled << Dynamic >> ) appears to the right. The dynamic tab contains no content; the text "Dynamic Content" appears on the background. In a group of tabs, the dynamic container is always the last tab on the right.
  5. Select the << Dynamic >> tab and click the View properties icon to display the properties panel.

  6. In the Max tabs control, select the maximum number of tabs the user can open, in addition to the ones in the tab group. The highest number is 16.

  7. Enter the dynamic content in the tab. You can leave it blank if you instead plan to use the group for sections or harnesses.

    To add a section or a harness to the tab group, drag a section or harness from the Application Explorer and place it on the border of the layout tab. Alternatively, you can drag a Section from the Layout group and drop it onto the tab.

  8. In the tab group header, click the View propertiesicon to open the Tab Group properties panel and complete the following:
    Style format

    Select the format you want to apply to the tabs in the group. To configure the format's appearance, access the Components tab in the Skin and then select Tab in the Layouts area.

    • Standard — Default format applied to all tab groups.
    • Sub — Format suitable for sub-tabs.
    • Other — Select to specify a custom style format in the field that displays. You can create custom style formats in the skin.
    Tab position

    Select the placement of the tabs at runtime:

    • Top
    • Bottom
    • Left
    • Right

    If you select Left or Right, specify the horizontal or vertical orientation of the tabs in the Tab Orientation field.

    Tab orientationIf you selected a left or right Tab Position, select to display tabs horizontally or vertically. Horizontal is the default. If you select vertical orientation, the tab title is rotated based on the tab position, left or right.

To delete a single tab, select it and then click the Delete icon. To delete an entire tab layout, select the layout and then click the Delete Row button, not the Delete Cell button.

The standard Case Manager and Case Worker portals provide working examples of tabbed dynamic containers.