Action sequencing when content or other types are applied in ViewApp
- Last UpdatedJul 17, 2024
- 2 minute read
Content and other types of ViewApp navigation follow a distinct sequence of steps to populate the available panes of a layout shown on a screen during runtime. When the user selects a navigation item and triggers its navigation actions, the following steps occur:
-
All screens within the ViewApp's selected screen profile are considered empty without content.
-
If the current navigation item specifies a layout for use on a screen, layouts are placed on the screens of the profile using inheritance. If any screens remain empty, the current navigation item's parent item is queried to determine if a layout is specified for any empty screen.
-
All panes belonging to the layouts assigned to screens are assumed to be empty before the composition engine assigns any content to the panes.
-
Content is shown in the appropriate pane based on content type matching between content and the pane or a direct reference to the pane.
Layout panes containing pre-existing content are not considered in content type matching. But, a direct reference to a navigation action replaces pre-existing pane content.
-
Other panes without any assigned content are enumerated to retrieve their individual content types.
-
For each type of pane, the current level in the hierarchy is queried to see:
-
If any explicit actions exist that specify a pane in the destination screen
-
If any implicit actions exist based on the type of content.
Implicit navigation actions are triggered by an available pane that matches the content type of the content. A multi-content pane can be the destination of multiple implicit action calls while executing an Auto-Fill navigation action.
-
-
If any actions are found at that level of the navigation hierarchy, they are shown in the panes.
-
For any remaining empty panes, the current navigation item's parent is retrieved and the search starts again at step 3.
-
The search ends when content is found for all of the panes or the root of the of the navigation hierarchy is reached.
If there are multiple panes with the same content type, the pane chosen to show the content is selected based on the descending alphabetical order of the pane names.