Harness and Section forms - Adding a dynamic container |
A section containing a dynamic container supports the runtime presentation of cases and worklists in composite portals.
You can use dynamic containers to present dynamic content in:
As a best practice, upgrade deprecated Work Area controls to Dynamic Containers. Dynamic containers provide similar functionality but are easier to configure, offer greater flexibility, and provide better performance. You can use the Work Area auto-upgrade tool to automatically convert Work Areas to dynamic containers. See Upgrading Work Area controls to dynamic containers on the PDN.
To prevent performance issues and unexpected runtime behavior, the system does not allow you to directly nest, within the same section or harness, a dynamic container inside another dynamic container. Do not attempt a nesting configuration by including a section containing a dynamic container inside another dynamic container.
You can use a dynamic container to present the dynamic contents of sections or harnesses in a single document. This means that only one document is open at a time. When a user opens another document, it replaces the original document in the dynamic container.
When building an application for mobile or offline use, dynamic content should be displayed in single document mode. When a Dynamic Container is set to single document mode, iframes are disabled by default. In effect, Single Document Mode is the iframe-free implementation of a Dynamic Container. Nesting iframes for the for dynamic content in a mobile or offline application may cause issues with speed, responsiveness, and interaction on the mobile devices and should be removed by displaying the content in single document mode.
For example, a worklist gadget can be configured with dynamic containers so that when a user selects an item on the list, the system replaces the current work form on the portal with the selected one.
You can use a dynamic container to present the dynamic contents of sections or harnesses in multiple documents. In this mode, several documents may be open simultaneously. Users can navigate among the open documents using tabs or a list of recent items. You can display up to 16 documents.
See Displaying a list of recent items in your application on the PDN.
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:
Select the << Dynamic >> tab and click 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.
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.
|
Tab position | Select the placement of the tabs at runtime:
If you select |
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. |
You can use a dynamic container to present the dynamic contents of sections or harnesses in a dynamic layout or column layout. Dynamic containers can be dragged and dropped from one layout to another layout. You cannot copy and paste dynamic containers into a smart layout.
Field |
Description |
Default View |
Select the type of rule you want to include: |
Page context |
Select or confirm the page context:
|
Purpose | Select the Purpose key part of a section or harness. |
Mode | |
Single Document |
Select to present 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 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:
|
Multi Document | Select to present dynamic content in multiple documents. In this mode, several documents may be open simultaneously. Users can navigate among the open documents using tabs or a list of recent items. |
Maximum Documents |
Specify the number of documents for Multi Document dynamic containers. See Adding a dynamic container to a tab group. 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. |
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 will have this option selected and will continue to run with iframes unless this check box is cleared. |
Size to Content |
Select the Size to Content check box to allow the dynamic container to resize based on width and height of the content of the container. If not enabled, 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. Existing dynamic containers can be updated by selecting the Size to Content check box. |
Select the tabs and click to display their respective properties panels.
To delete a single tab, select it and then click Delete (). 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.
Notes: