Salesforce Classic

For role settings, click on ‘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 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 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.
After configuring the Object Access click on the “Save” button.

If you have enabled the new Object and enabled the access rights, by saving the setting, you will be notified to set the Layout for a newly added Object.

 

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 drag and drop of 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.

For the password, you can generate a password link 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.