In Salesforce Financial Services Cloud (FSC), contacts are an integral part of the data model, especially when it comes to person accounts. However, if you need to restrict the visibility of contacts to all users except administrators to prevent confusion, you can take several steps to achieve this without compromising system functionality for automations.
Here are some strategies you can implement:
-
Role Hierarchy and Sharing Settings:
- Ensure that only administrators or specific roles with the necessary permissions can see the contacts by adjusting the organization-wide default settings for contacts.
- Set the sharing settings to private for contacts so that only the owner and users above them in the role hierarchy can access them.
-
Permission Sets and Profiles:
- Review and customize profiles and permission sets to remove the ability for non-admin users to view contacts.
- Create a custom profile or permission set that restricts access to the contact object for users who do not need it.
-
Record Types and Page Layouts:
- Hide the contact-related fields on page layouts for users who should not see them.
- Use record types to control which page layouts are used by which profiles, effectively hiding contacts from certain users.
-
Apex Triggers and Classes:
- Develop custom Apex triggers or classes to automatically handle the visibility of contacts for certain users, possibly by manipulating sharing rules or ownership.
-
Visualforce Pages and Lightning Components:
- If you are using custom Visualforce pages or Lightning components for displaying data, you can add conditions to control the visibility of contacts based on the user's profile or role.
-
** tabs and Navigation Settings**:
- Hide the contacts tab from users' navigation menus by adjusting the visibility settings in the app setup.
- Remove the contacts related list from relevant pages if it is not needed for non-admin users.
-
Reports and Dashboards:
- Set appropriate folder and sharing settings for reports and dashboards that include contact data to ensure that only authorized users can access them.
-
Automations:
- Ensure that any workflows, process builders, or other automations that rely on contacts are owned by or operate under the system administrator's permissions to maintain functionality.
-
API and Integration Considerations:
- If your Salesforce instance integrates with external systems, ensure that API access is properly secured and that only authorized systems can retrieve contact information.
-
Testing:
- Before rolling out any changes, thoroughly test the configuration changes to ensure that they do not negatively impact system functionality, especially regarding automations and integrations.
It's important to carefully plan and execute these changes, considering the potential impact on users, automations, and integrations. Additionally, communicate the changes to your Salesforce users to ensure they understand the new limitations and how they might impact their daily work.
Lastly, keep in mind that Salesforce is continuously updated, so always check the latest features and settings that could affect contact visibility and access. It might be worth consulting with a Salesforce professional or partner if you are unsure about the best approach for your specific Salesforce environment.