PartnerNetworkConnection
Represents a Salesforce to Salesforce connection between Salesforce organizations.
Introduced in API version 10.0.
create(), describeSObjects(), query(), retrieve()
- As of Winter ’21 and later, only authenticated internal and external users can access this object.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: ID of the Account associated with this connection.
- Relationship name: Account
- Relationship type: relationship
- Refers to: Account
- Type: string
- Properties: Filter, idLookup, Sort
- Description: A descriptive name for the connection. Limit: 295 characters.
- Type: picklist
- Properties: Filter, Group, Restricted picklist, Sort
- Description: The status of the Salesforce to Salesforce connection. The picklist includes the following values:
- Possible values:
- Sent — Sent
- Received — Received
- Pending — Pending
- Accepted — Accepted
- Rejected — Rejected
- Inactive — Inactive
- Disconnecting — Disconnecting
- ConnectionSuspended — ConnectionSuspended
- SubscribeInProgress — SubscribeInProgress
- UsersInitialSync — UsersInitialSync
- BulkSyncMetadata — BulkSyncMetadata
- Type: picklist
- Properties: Defaulted on create, Filter, Group, Restricted picklist, Sort
- Introduced: API version 30.0
- Description: The type of Salesforce to Salesforce connection. The picklist includes the following values: This field is available in API version 30.0 and later.
- Possible values:
- Standard — Standard
- Replication — Replication
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: ID of the Contact associated with this connection.
- Relationship name: Contact
- Relationship type: relationship
- Refers to: Contact
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 32.0
- 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.
- Default value: false
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 33.0
- Description: Specifies whether supported types of metadata are synced from the primary to the 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.
- Default value: false
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 35.0
- Description: Specifies whether users with standard Salesforce user licenses are synced between the primary and secondary organization in a replication connection. This field is available in API version 35.0 and later, and is only accessible in Salesforce organizations where Organization Sync is enabled.
- Default value: false
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 15.0
-
Relationship name: PartnerNetworkTemplate
-
Relationship type: relationship
-
Refers to: PartnerNetworkTemplate
- Type: reference
- Properties: Filter, Group, Sort
- Description: ID of the User associated with this connection.
- Relationship name: PrimaryContact
- Relationship type: relationship
- Refers to: User
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 30.0
- Description: The role of this Salesforce organization in the replication connection. The picklist includes the following values: This field is available in API version 30.0 and later, and is only accessible in Salesforce organizations where Organization Sync is enabled.
- Possible values:
- Primary — Primary
- Secondary — Secondary
- Type: datetime
- Properties: Filter, Nillable, Sort
- Description: The date and time that the connection was accepted or rejected.
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.