Pages with context

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Sites > Sites Editor > Building a site > Page Settings >

Pages with context

All pages in a Site have a Context. The context is the starting point of the data model that determines how the user navigates through the set of attributes and how the information is built.


By default all pages have the context of the Stakeholder, giving access to their collections, searches, pending cases, etc. When a collection is set with navigation to other pages, the user editing the Site defines the context of those new pages. New pages by default have the same context as the Home page; that is, the Stakeholder.


You can set an entity to establish context in front of the collection's page link. If no entity is given, then the context of the pages linked remains the same, the Stakeholder. When you define an entity in front of the redirection link the context of the target page changes and the starting point of data navigation will be the entity of the data model you specify. These pages are exclusively accessed through the link in the Collection.


Open the new page by clicking the navigation panel at the top left corner of the window and selecting the desired page. Contextualized pages appear in a different shade and as private pages.




When a page is contextualized and the main entity for navigation is not the Stakeholder but another entity, the page displays a green bar showing the name of the context entity involved.




Add as many controls as you want to display and enable their property Context Data located in the Manage Content menu.

Then, select the attribute you want to display from the Select XPath list.

For more information, refer to Controls.




Warning messages when updating a contextualized page

Updating the OData services information might change the IDs of the entities pertaining to contextualized pages. When this happens, Bizagi Sites displays a warning indicating that the entities must be mapped again to match the original IDs and recover the affected pages. For this purpose, click the page three-dot menu and select the Map contextualized pages option.




You will be directed to the Map contextualized entities menu, where you can find your contextualized pages grouped by levels. Starting from the First level, it is necessary to map each level verifying that the entities IDs match the original ID (displayed on parentheses).




If you map entities without matching its original ID, this may affect navigation to the next levels or the data obtained while navigating the site. Moreover, unmapped contextualized pages will remain corrupted and cannot be used on the site.