InCountry logo
mobile-nav
Search
  • Products
    • Products
      • InCountry for Salesforce
      • Data Residency-as-a-Service
      • Alibaba Cloud InCountry Service
      • Compliance and security
    • Gateways
      • Email
      • Payment Vault
      • Web Forms
      • HTML
    • Developers
      • REST API
      • SDK
  • Solutions
    • Automotive
    • Energy
    • Financial services
    • Healthcare
    • Retail
    • Technology
    • Latest success story
      • IBM Consulting
  • Integrations
    • Cegid
    • Intertrust
    • MuleSoft
    • PayPal
    • Salesforce
    • ServiceNow
    • Stripe
    • Veeva Systems
    • Yandex
  • Resources
    • Country compliance
    • Documentation
    • Library
    • Partners
    • Pricing
  • About
    • News and Blog
    • Careers
    • Contact Us
    • FAQ
    • Leadership
  • Login
  • Schedule a Demo

›Administrator's guide

Home
  • InCountry Platform
Portal
  • Getting started
  • Documentation
    • Dashboard
    • Managing environments
    • Managing SDK credentials and services
    • Managing Border configuration
    • Managing payment vaults
    • Managing email gateways
    • Managing resident functions
    • Managing file imports
    • Managing profile and organization
    • Managing users
    • Managing encryption keys
  • Release notes
Border
  • Documentation
  • Release notes
REST API
  • Documentation
  • How to test CRUD requests through REST API
  • Release notes
Resident Functions
  • Documentation
Salesforce
  • About
  • Overview
  • Quick start guide for three-model package
  • Quick start guide for legacy package
  • Administrator's guide
    • Managing the package
    • Managing permissions
    • Managing OAuth2 authentication and authorization
    • Managing certificates
    • Registering CSP Trusted Sites
    • Managing InCountry Endpoints
    • Managing REST endpoints
    • Managing InCountry flags
    • Loading the application
    • Managing data regulation policies
    • Managing protected fields
    • Hashing the UserName field
    • Managing custom objects
    • Replacing standard elements
    • Configuring record search
    • Managing components
    • Setting up Salesforce Experience Cloud
    • Managing resident functions
    • Managing InCountry cache
    • Managing Apex triggers
    • Managing record synchronization
    • Managing web forms
    • Tracking changes to data regulation policies and regulated fields
    • Using Email-to-Case feature
    • Debugging
    • Migrating data from one Salesforce organization to another
  • Developer’s guide
    • Apex SDK
    • JavaScript API
    • Retrieving record statistics
    • Tracking field history
  • User's guide
    • Working with protected fields
    • Sending compliant email messages
    • Importing data into Salesforce
    • Migrating records
    • Managing audit reports
    • Converting leads
    • Managing reports
    • Using formula fields
    • Using frontend validations
    • FAQ
    • Release notes
Payment Vault
  • Documentation
BYOK
  • Documentation
FAQ
  • Get started with the platform
  • Integration options
  • Data regulation models
  • Limits and quotas
  • Video tutorials
Service Status
  • Status

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.

  1. On the menu, select Settings.

  2. On the Settings page, locate the InCountry Flags section.

  3. Click the down arrow icon to expand the list of flags within it.

Expand the list of flags

The list of InCountry flags includes the following:

LabelNew LabelAPI NameDescription3R packageLegacy replication
Country ISO from User ProfileCountry ISO from User ProfileCountryISOFromUserProfileIf 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 FilterEnable Range Key filterEnableRangeKeyFilterThis flag regulates the usage of the range key filter for searching for numeric values within the specified range.++
PII Fields Auto ConfigurationPII Fields Auto configurationPIIFieldsAutoConfigurationThis flag regulates the automatic configuration of the PII fields for Salesforce objects based on the common patterns.++
RECYCLE BIN ENABLEDRecycle Bin enabledRECYCLE_BIN_ENABLEDThis flag regulates the automatic removal of records upon their reaching the removal date.-+
Post Commit NotificationPost Commit notificationPostCommitNotificationThis flag regulates the notification of the failed post-commits when creating or updating the record.-+
Related List SyncRelated List syncRelatedListSyncThis 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 triggerFiles triggerFilesTriggerThis flag regulates the synchronization of files between the InCountry platform and Salesforce Lightning.-+
Files trigger classicFiles trigger (classic)FilesTriggerClassicThis flag regulates the synchronization of files between the InCountry platform and Salesforce Classic.-+
Escape CSV filesEscape CSV filesEscapeCSVFilesThis flag regulates the escaping of special characters when you export the list of records for some Salesforce object.+-
PII dields validationPII fields validationPII_FIELDS_VALIDATIONThis 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 enabledPII policies trigger enabledPII_POLICIES_TRIGGER_ENABLEDThis 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 syncEnable Safe syncEnableSafeSyncThis 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 Oauth2Use OAuth 2.0USE_OAUTH2This flag enables OAuth2 authorization instead of certifications.++
Delete by profile keyDelete by profile keyDELETE_BY_PROFILE_KEYThis flag enables deletion of records by their record identifiers (stored in the profile_key field).+-
ENFORCE_OBJECT TYPE_SEARCHEnforce object type searchENFORCE_OBJECT_TYPE_SEARCHThis flag adds an additional filter by object name.+-

To add a new flag:

  1. In the Enter flag label box, enter the label of the flag.

  2. To activate the flag after creation, move the toggle right.

  3. Click the plus icon.

The flag is added to the list.

To enable or disable the flag:

  1. On the list with flags, locate the flag which you want to enable or disable.

  2. To disable the flag, move the toggle left.

  3. To enable the flag, move the toggle right.

← Managing REST endpointsLoading the application →
InCountry logo blue
© InCountry 2022.
All rights reserved. InCountry, Inc
  • PRIVACY POLICY
  • TERMS OF SERVICE
  • Social share
    • YouTube logo
    • Facebook logo
    • Twitter logo
    • LinkedIn
  • Column 1
    • Products
      • Products
        • InCountry for Salesforce
        • Data Residency-as-a-Service
        • Alibaba Cloud InCountry Service
        • Compliance and security
      • Gateways
        • Email
        • Payment Vault
        • Web Forms
        • HTML
      • Developers
        • REST API
        • SDK
  • Column 2
    • Solutions
      • Automotive
      • Energy
      • Financial services
      • Healthcare
      • Retail
      • Technology
    • Integrations
      • Cegid
      • Intertrust
      • MuleSoft
      • PayPal
      • Salesforce
      • ServiceNow
      • Stripe
      • Veeva Systems
      • Yandex
  • Column 3
    • Resources
      • Country compliance
      • Documentation
      • Library
      • Partners
      • Pricing
    • About
      • News and Blog
      • Careers
      • Contact Us
      • FAQ
      • Leadership