Newer Version Available

This content describes an older version of this product. View Latest

PartnerNetworkConnection

Represents a Salesforce to Salesforce connection between Salesforce organizations.

Supported Calls

create(), describeSObjects(), query(), retrieve()

Fields

Field Details
AccountId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the Account associated with this connection.
ConnectionName
Type
string
Properties
Filter, idLookup, Sort
Description
A descriptive name for the connection. Limit: 295 characters.
ConnectionStatus
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The status of the Salesforce to Salesforce connection. The picklist includes the following values:
  • Sent
  • Received
  • Pending
  • Accepted
  • Rejected
  • Inactive
  • Disconnecting
  • UsersInitialSync
  • BulkSyncMetadata
ConnectionType
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The type of Salesforce to Salesforce connection. The picklist includes the following values:
  • Standard
  • Replication
This field is available in API version 30.0 and later.
ContactId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the Contact associated with this connection.
IsSyncAuditFields
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Specifies whether audit fields are synced between the primary and secondary organization in a replication connection. This field is available in API version 32.0 and later, and is only accessible in Salesforce organizations where Organization Sync is enabled.
IsSyncMetadata
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Specifies whether user metadata is synced between the primary and secondary organization in a replication connection. This field is available in API version 33.0 and later, and is only accessible in Salesforce organizations where Organization Sync is enabled.
PrimaryContactId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the User associated with this connection.
ReplicationRole
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
The role of this Salesforce organization in the replication connection. The picklist includes the following values:
  • Primary
  • Secondary
This field is available in API version 30.0 and later, and is only accessible in Salesforce organizations where Organization Sync is enabled.
ResponseDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time that the connection was accepted or rejected.

Usage

Represents Salesforce to Salesforce standard and replication connections. This object is referenced by all objects that have been shared with other organizations, enabling you to determine which connections shared a record with you. If the organization does not have Salesforce to Salesforce enabled, the PartnerNetworkConnection object is not available, and you can’t access it via the API.