Skip to main content

Managing Tabs and Components

Replacing tabs within apps

note

These instructions are applicable to the three-model package for all the models supported by it.

To show records with protected fields according to the redaction data regulation policy, you need to hide standard Salesforce tabs from the app. This can be achieved in two ways:

  • configuring restrictions to tabs in user profiles

  • replacing standard tabs with customized tabs

Configuring restrictions to tabs in user profiles

  1. Log in to Salesforce as a system administrator.

  2. From Setup, click Users and then select Profiles.

  3. On the list with user profiles, locate the profile for which you want to hide standard tabs.

    Locate Profile

  4. Click Edit for this user profile.

    Edit Profile

  5. On the list with tabs, locate the standard tabs which are used for showing Salesforce objects with protected fields.

  6. Clear the boxes for these tabs.

  7. Check the boxes for custom tabs with the components from the InCountry Data Residency for Salesforce package.

  8. When complete, click Save.

You may need to repeat similar operations for other user profiles.

Replacing standard tabs with customized tabs

  1. Log in to Salesforce as a system administrator.

  2. From Setup, click Apps and then select App Manager.

  3. On the list with apps, locate the app in which you want to replace the standard tabs with customized tabs and click Edit.

    Edit

  4. Within the app settings, select Navigation Items.

  5. On the Selected Items list, locate the tab with standard components and select it, then click the Remove button.

    Remove

  6. On the Available Items list, locate the tab with customized components and select it, then click the Add button.

    Add

  7. When complete, click Save.

Adding a custom component

note

These instructions are applicable to the three-model package for all the models supported by it.

The InCountry Poller custom Lightning web component automatically refreshes values on the user's screen once records with protected fields have been synchronized with the InCountry platform.

  1. In the Settings section, add the PII policy and protected fields for a particular Salesforce object.

    Settings

  2. Open the list view for this Salesforce object.

    Salesforce object

  3. Select any record and click the Gear icon.

    Gear

  4. From the contextual menu, select Edit page or navigate to the App Builder.

    Edit page

  5. On the the Record’s View Flexipage, locate the list with components.

    Record

  6. On the Components list, look up the InCountry Poller component from the managed package and drag it to any place on the screen.

    Components

  7. Click Save.

  8. Click Activation, then click Activate.

  9. Click Assign as Org Default.

    Assign

  10. In the Assign form factor form, select Desktop and click Next.

    Assign form

  11. Click Save.

  12. Exit App Builder by clicking the Back arrow.

    Back

  13. Repeat this procedure for all Salesforce objects having protected fields.