Connection Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the connection entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class name for this entity is Connection.

To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.

In This Topic

Entity Metadata

Privilege Metadata

Attribute Metadata

One-to-Many Relationships

Many-to-Many Relationships

Many-to-One Relationships

Entity Metadata

The following table shows the metadata for the connection entity.

Entity metadata property Value

OTC

3234

EntityLogicalName

connection

DisplayName

Connection

DisplayCollectionName

Connections

IsCustomizable

True

OwnershipType

UserOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

True

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

True

CanCreateAttributes

True

CanCreateCharts

True

CanCreateForms

True

CanCreateViews

True

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

True

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

True

IsValidForAdvancedFind

True

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

connectionid

PrimaryNameAttribute

name

ReportViewName

FilteredConnection

Description

Relationship between two entities.

Privilege Metadata

The following table shows the privilege metadata for the connection entity.

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendConnection

2c220358-df94-468c-b6e6-4e499f9c0186

Append

True

True

True

True

prvAppendToConnection

06e60cde-b77f-45f7-b4db-f21bc40c91d1

AppendTo

True

True

True

True

prvAssignConnection

be208969-4ef2-4522-840f-5904f39f97ab

Assign

True

True

True

True

prvCreateConnection

7c48a95b-d237-4852-93fb-ec420b2ec17f

Create

True

True

True

True

prvDeleteConnection

3dabaae2-a83f-42ab-b314-c92439b8b6f4

Delete

True

True

True

True

prvReadConnection

919f6df3-97bf-4897-82f1-9d67749eab3a

Read

True

True

True

True

prvShareConnection

2d264bef-3a39-42f0-bd9b-fc88f44fc926

Share

True

True

True

True

prvWriteConnection

1e589ebe-aad1-44b5-813e-bc2574f8d365

Write

True

True

True

True

Attribute Metadata

The following table shows the attribute metadata for the connection entity.

LogicalName SchemaName Type RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsCustomizable IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion Description

connectionid

ConnectionId

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

True

False

True

True

False

True

False

False

Connection

Unique identifier of the connection.

createdby

CreatedBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

True

False

True

Created By

Unique identifier of the user who created the connection.

createdon

CreatedOn

DateTime

None

False

True

False

False

False

False

True

False

True

False

False

True

False

True

Created On

Date and time when the connection was created.

createdonbehalfby

CreatedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

True

False

True

Created By (Delegate)

Unique identifier of the delegate user who created the connection.

description

Description

Memo

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Description

Description of the connection.

effectiveend

EffectiveEnd

DateTime

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Ending

Effective end date for this connection.

effectivestart

EffectiveStart

DateTime

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Starting

Effective start date for this connection.

exchangerate

ExchangeRate

Decimal

None

False

True

False

False

False

False

True

True

True

False

False

True

False

True

Exchange Rate

Exchange rate between the currency associated with the connection and the base currency.

importsequencenumber

ImportSequenceNumber

Integer

None

True

True

False

False

False

False

True

True

True

False

False

True

False

True

Import Sequence Number

Unique identifier of the data import or data migration that created this record.

ismaster

IsMaster

Boolean

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

True

False

True

Is Master

Indicates that this is the master record.

modifiedby

ModifiedBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

True

False

True

Modified By

Unique identifier of the user who last modified the connection.

modifiedon

ModifiedOn

DateTime

None

False

True

False

False

False

False

True

False

True

False

False

True

False

True

Modified On

Date and time when the connection was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

True

False

True

Modified By (Delegate)

Unique identifier of the delegate user who modified the connection.

name

Name

String

ApplicationRequired

False

True

False

False

False

False

True

True

True

False

True

True

False

True

Connection Name

Name of the connection.

overriddencreatedon

OverriddenCreatedOn

DateTime

None

True

True

False

False

False

False

True

True

True

False

False

True

False

True

Record Created On

Date and time that the record was migrated.

ownerid

OwnerId

Owner

SystemRequired

True

True

False

False

False

False

True

True

True

False

False

True

False

True

Owner

Unique identifier of the user or team who owns the connection.

owningbusinessunit

OwningBusinessUnit

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

False

Owning Business Unit

Unique identifier of the business unit that owns the connection.

owningteam

OwningTeam

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

False

Owning Team

Unique identifier of the team who owns the connection.

owninguser

OwningUser

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

False

Owning User

Unique identifier of the user who owns the connection.

record1id

Record1Id

Lookup

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Connected From

Unique identifier of the source record.

record1objecttypecode

Record1ObjectTypeCode

Picklist

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Type (From)

Record type of the source record.

record1roleid

Record1RoleId

Lookup

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Role (From)

Unique identifier of the role for the source record.

record2id

Record2Id

Lookup

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Connected To

Unique identifier of the target record.

record2objecttypecode

Record2ObjectTypeCode

Picklist

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Type (To)

Record type of the target record.

record2roleid

Record2RoleId

Lookup

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Role (To)

Unique identifier of the role for the target record.

relatedconnectionid

RelatedConnectionId

Lookup

ApplicationRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

False

Reciprocal Connection

Unique identifier for the reciprocal connection record.

statecode

StateCode

State

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

True

False

True

Status

Status of the connection.

statuscode

StatusCode

Status

None

True

True

True

False

False

False

True

True

True

False

False

False

False

False

Status Reason

Reason for the status of the connection.

transactioncurrencyid

TransactionCurrencyId

Lookup

None

True

True

True

False

False

False

True

True

True

False

False

True

False

True

Currency

Unique identifier of the currency associated with the connection.

versionnumber

VersionNumber

BigInt

None

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Version Number

Version number of the connection.

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship for the connection entity.

Relationship schema name Referencing entity

Connection_AsyncOperations

asyncoperation

connection_related_connection

connection

connection_principalobjectattributeaccess

principalobjectattributeaccess

Connection_ProcessSessions

processsession

userentityinstancedata_connection

userentityinstancedata

Many-to-Many Relationships

There are no default many-to-many relationships for the connection entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship for the connection entity.

Relationship schema name Referenced entity

account_connections1

account

account_connections2

account

activitypointer_connections2

activitypointer

activitypointer_connections1

activitypointer

appointment_connections1

appointment

appointment_connections2

appointment

business_unit_connections

businessunit

campaign_connections1

campaign

campaign_connections2

campaign

campaignactivity_connections2

campaignactivity

campaignactivity_connections1

campaignactivity

competitor_connections1

competitor

competitor_connections2

competitor

connection_related_connection

connection

connection_role_connections2

connectionrole

connection_role_connections1

connectionrole

constraintbasedgroup_connections1

constraintbasedgroup

constraintbasedgroup_connections2

constraintbasedgroup

contact_connections1

contact

contact_connections2

contact

contract_connections2

contract

contract_connections1

contract

email_connections1

email

email_connections2

email

equipment_connections1

equipment

equipment_connections2

equipment

fax_connections2

fax

fax_connections1

fax

goal_connections1

goal

goal_connections2

goal

incident_connections2

incident

incident_connections1

incident

invoice_connections2

invoice

invoice_connections1

invoice

lead_connections2

lead

lead_connections1

lead

letter_connections1

letter

letter_connections2

letter

list_connections1

list

list_connections2

list

msdyn_postalbum_connections1

msdyn_postalbum

msdyn_postalbum_connections2

msdyn_postalbum

opportunity_connections2

opportunity

opportunity_connections1

opportunity

owner_connections

owner

phonecall_connections1

phonecall

phonecall_connections2

phonecall

processsession_connections1

processsession

processsession_connections2

processsession

quote_connections2

quote

quote_connections1

quote

recurringappointmentmaster_connections1

recurringappointmentmaster

recurringappointmentmaster_connections2

recurringappointmentmaster

resourcegroup_connections1

resourcegroup

resourcegroup_connections2

resourcegroup

salesorder_connections1

salesorder

salesorder_connections2

salesorder

serviceappointment_connections2

serviceappointment

serviceappointment_connections1

serviceappointment

systemuser_connections2

systemuser

createdby_connection

systemuser

modifiedby_connection

systemuser

lk_connectionbase_modifiedonbehalfby

systemuser

lk_connectionbase_createdonbehalfby

systemuser

systemuser_connections1

systemuser

task_connections1

task

task_connections2

task

team_connections1

team

team_connections2

team

TransactionCurrency_Connection

transactioncurrency

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

Connection Entities
Connection Entity Messages and Methods
Connection Entity OptionSet Attribute Metadata
Connection Entity Privileges

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.