For role settings, click on the ‘All Tabs’ icon and you will be redirected to the All Tabs screen. Now click on ‘Customer Portal Roles’.
Now for adding a new role, click on “New”.
Fill in the required details and click on the “Save” button to add a new role.
Once the role is added, open the role and assign contact to that role by clicking on “New Contact”.
Note: By default, there will be one primary role defined which is assigned to a newly created user, you can define any role as “Primary Role”.
To manage ‘object access’ for a particular role, navigate to the Role detail page -> Object Access tab.
Note: You can also edit the Default Role of the Customer Portal Role.
Object Access Setting
By clicking on the ‘Object Access’, Object Access Setting will popup.
The standard (default) and custom objects that are enabled in the ‘Object Configuration’ will directly reflect in the Object Access Setting.
From here, enable the Objects by checking the Access option and assign the rights to Create/Edit/Delete as per requirement.
Relationship selection is provided to select the relationship between objects and contact or other relation.
Enable Product Selection
To enable the Product selection, you must have enabled that object. Once you enable the access, you can enable the ‘Product’ for that object.
You can also enable the ‘Product’ if you want to provide product selection while adding records in the customer portal.
You can also edit the access rights for the custom object if any.
Enable Sub Panel
You can enable the sub-panel in the Edit/Detail pages of any object. To enable the Sub Panel of any object, check the Enable Sub Panel options.
By enabling the Sub Panel for any Object, all the data will be shown in the subpanel which is having a relationship with the current page of the object.
The portal users will get the listing in the sub-panel of the Object having a relationship with the contact The portal users will have Add, Edit, and Delete rights as you have enabled the rights for the object.
Note: Notes, Attachments, and Knowledge Articles will not have Sub Panel access.
After configuring the Object Access click on the “Save” button.
If you have enabled the new Object and enabled the access rights, you will be notified to set the Layout for a newly added Object by saving the setting.
Enable Case Deflection
To enable the ‘Case Deflection’, click on Role Settings.
Check the box under the Case Deflection title to enable it. And then click on Submit to save the setting.
Note: Case deflection will only work if the solutions and cases module is enabled.
Assign Role to Contact
Steps to Set fields in contact layout: Go to Setup -> Object manager -> Contact object -> Page layout -> Contact layout -> Drag and drop (Enable Customer Portal, Username and Customer Portal Role).
Note: Here, you do not need to drag and drop the ‘Password’ field for security purposes. The password generation link button is provided separately in the contact details.
For assigning roles to a particular contact, navigate to the list view, and select any contact.
Fill out information i.e. Username, Portal Role, and Enable Portal and click on save.
You can generate a password link for the password by clicking on the “Send Generate Password Link” button and it will directly send a mail with a set password link. From that link, you can generate a new password.
Note: If you are unable to see the “Send Generate Password Link” button, then navigate to Setup -> Object Manager -> Contact object -> Page Layout -> Customer Layout > Drag and drop “Send Generate Password Link” to custom buttons.