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

›User'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

Importing data into Salesforce

note

The record import is supported in the legacy package and in the three-model package when using the redaction or restriction model.

Hide Heading

When you use the redaction and restriction data regulation models, you cannot import records into Salesforce by using the native import functionality. In this case, your records will be directly imported into the Salesforce database, which may violate compliance regulations for specific records. To import records in compliance with your regulation model, you need to use the functionality of the InCountry Data Residency for Salesforce package.

Import file requirements

warning

Even though you cannot overwrite the mandatory fields with empty values when you import a file, the optional fields can be overwritten with empty values. Please include all the fields and their actual values when updating existing Salesforce records to avoid the accidental clearing of current values.

  1. You can import CSV or XLS files with records.

  2. Column names should correspond to the Salesforce field API Names.

  3. There are no limits for imported records as data is loaded in batches (100 records per batch). Note that the resulting import duration is affected by the number of records you import.

  4. You can use the import functionality to update existing records. In this case, your file should include the Salesforce Record ID column with identifiers of records stored on the InCountry platform. The data importing mechanism identifies and maps columns to the Salesforce record's fields by column names, with the current position of columns not affecting the importing process. Your CSV/XLS file may contain records both with existing record IDs and without them, as the importing mechanism will automatically update existing records or create new ones accordingly.

  5. The import functionality also considers the country attribution of records, as follows:

    1. If you are using the object-level restriction only, all records will be loaded to the InCountry platform within the chosen country. The presence of the column with countries is not required in the import file.

    2. If you are using the record-level restriction, your import file must include the column with countries where each record originates from. Otherwise, the file import will fail.

Importing records

  1. Load the InCountry Data Residency for Salesforce package.

  2. Open the Salesforce object and its list of records.

  3. In the top right part of the screen, locate the Import CSV/XLS button.

    Salesforce object and Import CSV/XLS button

  4. Click Import CSV/XLS.

    Import from File form

  5. Select the file for import or drop it onto the form.

  6. Click Import.

Upon the successful import, the package returns the file with identifiers of imported records and the imported records will appear on the list.

Upon a failed import, the package returns the file with error details for each record.

← Sending compliant email messagesMigrating records →
  • Import file requirements
  • Importing records
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