Managing InCountry flags
The InCountry Data Residency for Salesforce package introduces a set of custom metadata types, so called flags. These flags regulate the activation of specific features within the package.
On the menu, select Settings.
On the Settings page, locate the InCountry Flags section.
Click the down arrow icon to expand the list of flags within it.
The list of InCountry flags includes the following:
Label | New Label | API Name | Description | 3R package | Legacy replication |
---|---|---|---|---|---|
Country ISO from User Profile | Country ISO from User Profile | CountryISOFromUserProfile | If this flag is enabled then the country location is determined from the Country_field__c field on the user object, otherwise it is determined from the IP address. | + | + |
Enable Range Key Filter | Enable Range Key filter | EnableRangeKeyFilter | This flag regulates the usage of the range key filter for searching for numeric values within the specified range. | + | + |
PII Fields Auto Configuration | PII Fields Auto configuration | PIIFieldsAutoConfiguration | This flag regulates the automatic configuration of the PII fields for Salesforce objects based on the common patterns. | + | + |
RECYCLE BIN ENABLED | Recycle Bin enabled | RECYCLE_BIN_ENABLED | This flag regulates the automatic removal of records upon their reaching the removal date. | - | + |
Post Commit Notification | Post Commit notification | PostCommitNotification | This flag regulates the notification of the failed post-commits when creating or updating the record. | - | + |
Related List Sync | Related List sync | RelatedListSync | This flag regulates the checkup of a synchronization status for a Salesforce object and its related components by the poller component. If disabled, the poller component checks the synchronization status for the Salesforce object only. | - | + |
Files trigger | Files trigger | FilesTrigger | This flag regulates the synchronization of files between the InCountry platform and Salesforce Lightning. | - | + |
Files trigger classic | Files trigger (classic ) | FilesTriggerClassic | This flag regulates the synchronization of files between the InCountry platform and Salesforce Classic. | - | + |
Escape CSV files | Escape CSV files | EscapeCSVFiles | This flag regulates the escaping of special characters when you export the list of records for some Salesforce object. | + | - |
PII dields validation | PII fields validation | PII_FIELDS_VALIDATION | This flag regulates the validation of PII fields when defining the data regulation model for Salesforce objects. This option verifies the existence of a field, user permissions to create a configuration for this field, and the applied hash function. | + | - |
PII policies trigger enabled | PII policies trigger enabled | PII_POLICIES_TRIGGER_ENABLED | This flag regulates the validation of configured data regulation policies for Salesforce objects. This option verifies that only one policy is configured per Salesforce and per object type and there are no conflicting configuration duplicates. | + | - |
Enable safe sync | Enable Safe sync | EnableSafeSync | This flag enables the safe synchronization of regulated records between Salesforce and the InCountry platform. For the details on this option, please check our documentation. | + | - |
Use Oauth2 | Use OAuth 2.0 | USE_OAUTH2 | This flag enables OAuth2 authorization instead of certifications. | + | + |
Delete by profile key | Delete by profile key | DELETE_BY_PROFILE_KEY | This flag enables deletion of records by their record identifiers (stored in the profile_key field). | + | - |
ENFORCE_OBJECT TYPE_SEARCH | Enforce object type search | ENFORCE_OBJECT_TYPE_SEARCH | This flag adds an additional filter by object name. | + | - |
To add a new flag:
In the Enter flag label box, enter the label of the flag.
To activate the flag after creation, move the toggle right.
Click the plus icon.
The flag is added to the list.
To enable or disable the flag:
On the list with flags, locate the flag which you want to enable or disable.
To disable the flag, move the toggle left.
To enable the flag, move the toggle right.