Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Click on Images to Expand Them


You can use Page Groups to combine multiple pages into a set to configure cascading navigation between pages within the group and between several page groups.

Note: Currently, page groups can only be created and edited in the JSON tab.

Tip

Tip: First create all the necessary pages using the editor.

page_group_result.png

To configure a Page Group, proceed as follows:

Step 1: Update JSON Code

Rw ui steps macro
Rw step

Open the JSON tab of the Docupace Start screen.

Rw step

Add the pageGroups section to the JSON code.

The code must contain:

  • pageGroups section

  • name of the group, e.g. mainGroup

  • initialPage within the group

  • list of pages in the order that they will appear

Rw step

Add configuration for the page group to the wizard section of the JSON code.

Configuration code contains:

  • name an internal name for the code, e.g. mainPage

  • enableSectionBasedNavigation set value to true

  • showInNavigationPanel set value to true

  • group set value to the page group name configured in the pageGroups section, e.g. mainGroup

  • groupName set the value that will appear in the navigation, e.g. Main page group

  • pageType set value to dynamicDataEntry

  • metaFieldPattern combines the meta field name from the Page Group + Field Group + Field), e.g. Owner1.

  • navigationPanelLayout set value to vertical or horizontal

  • nextPage value for the next page to be displayed after this page group

Example for the the pageGroups section:

Code Block
languagejson
"pageGroups": {
  "mainGroup": {
    "initialPage": "firstPageInMainPageGroup",
    "pages": [
      "firstPageInMainPageGroup",
      "secondPageInMainPageGroup"
    ]
  }
},

Example for the page group configuration code in the wizard section:

Code Block
{
  "name": "mainPage",
  "enableSectionBasedNavigation": true,
  "isEnabled": "true",
  "showInNavigationPanel": "true",
  "group": "mainGroup",
  "groupName": "Main page group",
  "pageType": "dynamicDataEntry",
  "metaFieldPattern": "Owner1.",
  "navigationPanelLayout": "vertical",
  "nextPage": "lastPage"
},

The newly created page group will appear in the editor as an unlabeled page.

page_group_in_page_tree.png

Step 2: Configure the Navigation

Rw ui steps macro
Rw step

Open the Wizard tab of the Docupace Start screen.

Rw step

Add a field with the navigation menu type to each page in the page group.

page_group_navigation.png

Step 3: Save the Changes

Rw ui steps macro
Rw step

Save your work.

Rw step

Close the Widget.

Known Limitations

Issue

1

Top navigation menu is displayed only if the first is a single page, the next pages in page group(s) and the last is a single page.

2

There is no meta field pattern override feature - fields like User., Contact1. field, have page group prefix.

3

Page header numeration is calculated by javascript. It does not use framework built-in navigation for Next and Previous pages.

4

Navigation javascript may go to a page in a page group that is not enabled by enable criteria.

5

Mailing address does not appear in the navigation menu if SameAddr option is set to No.