Example of Adding or Updating Primary Contact
You can add or update the primary contact of an account using import management. Before adding or updating the primary account, ensure that the contact exists.
Select a Unique Identifier for Your Records
All records must be unique in the application. You can add or update a primary contact by submitting any one or more of the unique identifiers.
List of Account Identifiers:
-
PartyId
-
PartyNumber
-
SourceSystem and SourceSystemReferenceValue
List of Contact Identifiers:
-
PrimaryContactPartyId
-
PrimaryContactPartyNumber
-
PrimaryContactSourceSystem and PrimaryContactSourceSystemReferenceValue
To add or update the primary contact of an account, you must create a source file (CSV) and import it using import management. Below table lists the attributes using Party ID and Primary Contact Party ID as identifier:
Attribute Name |
Value |
---|---|
PartyId |
300100545540269 |
PrimaryContactPartyId |
300100545059765 |
Create the Import Activity
After you have the CSV file ready, create an import activity to import the account information. To create an import activity:
-
Go to
. -
Click Create Import Activity in the Manage Imports page.
-
In the Enter Import Options page, provide a name for the import activity, and select Account from the Object drop-down list.
-
Select the CSV file in the File Name field, and click Next.
-
You would see that the source and target attributes are automatically mapped in the Map Fields page. Review and edit the mappings if required.
-
Check the file for unmapped columns or data format issues by clicking Validate Data. Click Next.
-
Review the import details on the Review and Submit page, and click Submit when you're ready.
Review the Import Results
Check if your import succeeded on the Manage Imports page. This page shows the status of all active, completed, and unsuccessful imports. To check the status of the import activity:
-
Go to
. -
Click All Imports and search for the import activity that you created earlier.
-
Check the Status column for the import activity. The import is successful if the status displays as Completed. You can drill down on the import activity to go to the Import Status page which provides the status details of the import activity.