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:
Single - Presents the dynamic contents of harnesses in a single document. Use this mode to present content that can be refreshed without reloading the portal.
Multiple - Presents the dynamic contents of harnesses in multiple documents. In this mode, several documents can be opened simultaneously. You can display up to 16 documents. Depending on how you want the user to navigate these multiple documents, you can use either the recent list of items or tab group navigation.
- From the Design tab, click the Layout control group and select Dynamic Container.
- Drag it into the section. The Dynamic Container settings dialog box appears.
- Specify a mode, complete the Dynamic Container settings, and click OK.
Adding a multi-document dynamic container with recent list navigation
- Add a dynamic container in the Multi document mode.
- Include pxRecent in a seperate 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.
Note: 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:
- Click the Layout control group and select the Tab control.
- Drag it onto the form.
- From the Layout group, select Dynamic Container.
- 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.
-
Select the << Dynamic >> tab and click the View properties icon to display the properties panel.
-
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.
- 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.
- 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: If you select Left or Right , specify the horizontal or vertical orientation of the tabs in the Tab Orientation field. |
Tab orientation | If 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.
Note: The standard Case Manager and Case Worker portals provide working examples of tabbed dynamic containers.
Notes:
- A harness can be added to a tab group only if it already contains a dynamic container.
- A tab group can include only one dynamic container.
- A tabbed dynamic container must be associated with at least one layout, section, or harness tab.
Open topic with navigation