Portal context engine allows restricting access to specified portals for some user categories defined by User Criteria.
Example case:
Role required: admin. |
Before you start, you need to create the necessary user criteria first. For information on how to create them, please refer to the User Criteria article. |
To create a portal context, please complete the steps below:
Portal context form description
Field | Mandatory | Description | |
---|---|---|---|
Portal | Y | Specify a portal to which you need to restrict access.
| |
Active | N | Select this checkbox to make this portal context record active. | |
Audience Criteria | N | In this field, select user criteria to define users who will have access to the portal specified. If no criteria are specified, this portal will be available to all users. | |
Order | N | Specify a portal context record processing order. If some user fits more than one portal context record, then a record with the lesser Order value is applied to the user. |
Users with the admin role can always access any portal. The setting is preconfigured for portal context overriding. |
The page mappings engine is used to configure redirect rules in case the visited link is not accessible due to role restrictions.
Example case:
Role required: admin. |
To create a page mapping rule from scratch, please complete the steps below:
It is more effective to create page mapping rules out of the portal context rules. For this, navigate to the relevant portal context record, scroll down to the Related Lists area, open the Page Mapping tab and create rules. |
Field | Mandatory | Description | ||
---|---|---|---|---|
Portal Context | Y | Specify a reference to the previously created portal context. | ||
URL Template | Y | Specify initial URL template.
You can use variables here. Examples: /record/{tableName}/{recordID}
| ||
Portal Page | Y | Specify portal page URL template. This template is used to create URLs for portal pages out of URLs passed.
Example: /portal/record?table_name={tableName}&record_id={recordID}&view=SP |
.