Subject Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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 subject entity.

Entity metadata property Value

OTC

129

EntityLogicalName

subject

DisplayName

Subject

OwnershipType

OrganizationOwned

IsCustomizable

True

Description

Information regarding subjects available in the system.

IsAvailableOffline

True

IsAuditEnabled

False

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

False

IsValidForQueue

False

IsVisibleInMobile

True

PrimaryIdAttribute

subjectid

PrimaryNameAttribute

title

ReportViewName

FilteredSubject

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Subjects

Privilege Metadata

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

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendSubject

828e7127-7f95-4cf6-9541-f95c79163e30

Append

False

False

True

False

prvAppendToSubject

63a357a1-d923-467d-828e-9204e3e30f95

AppendTo

False

False

True

False

prvCreateSubject

8668262a-942f-4089-af7e-6ea2deb6a80b

Create

False

False

True

False

prvDeleteSubject

94d54374-1ca7-47a3-a0c8-73ec80434ee0

Delete

False

False

True

False

prvReadSubject

d5d40a46-b459-438b-941e-d55691bf0827

Read

False

False

True

False

prvWriteSubject

dae584f9-d69b-4b8b-aa38-e15e908d4fd2

Write

False

False

True

False

Attribute Metadata

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

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

createdby

Unique identifier of the user who created the subject.

Lookup

CreatedBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By

createdon

Date and time when the subject was created.

DateTime

CreatedOn

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created On

createdonbehalfby

Unique identifier of the delegate user who created the subject.

Lookup

CreatedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By (Delegate)

description

Description of the subject.

Memo

Description

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Description

featuremask

Information that specifies when the subject will be displayed in lists of subjects.

Integer

FeatureMask

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Feature Mask

importsequencenumber

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

Integer

ImportSequenceNumber

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Import Sequence Number

modifiedby

Unique identifier of the user who last modified the subject.

Lookup

ModifiedBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By

modifiedon

Date and time when the subject was last modified.

DateTime

ModifiedOn

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified On

modifiedonbehalfby

Unique identifier of the delegate user who last modified the subject.

Lookup

ModifiedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By (Delegate)

organizationid

Unique identifier for the organization associated with the subject.

Lookup

OrganizationId

False

False

SystemRequired

False

True

False

False

False

False

False

True

False

False

False

False

False

Organization

overriddencreatedon

Date and time that the record was migrated.

DateTime

OverriddenCreatedOn

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Record Created On

parentsubject

Unique identifier of the parent subject.

Lookup

ParentSubject

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Parent Subject

subjectid

Unique identifier of the subject.

Uniqueidentifier

SubjectId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

True

Subject

title

Title of the subject.

String

Title

False

True

None

True

True

True

False

False

False

True

True

False

True

False

False

True

Title

versionnumber

Version number of the subject.

BigInt

VersionNumber

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Version Number

One-to-Many Relationships

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

Relationship schema name Referencing entity

Subject_AsyncOperations

asyncoperation

Subject_BulkDeleteFailures

bulkdeletefailure

is_primary_subject_for

documentindex

subject_incidents

incident

subject_kb_articles

kbarticle

Subject_ProcessSessions

processsession

subject_products

product

subject_sales_literature

salesliterature

subject_parent_subject

subject

userentityinstancedata_subject

userentityinstancedata

Many-to-Many Relationships

There are no many-to-many relationships for the subject entity.

Many-to-One Relationships

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

Relationship schema name Referenced entity

organization_subjects

organization

subject_parent_subject

subject

lk_subjectbase_modifiedby

systemuser

lk_subjectbase_createdby

systemuser

lk_subject_createdonbehalfby

systemuser

lk_subject_modifiedonbehalfby

systemuser

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

Subject Entity Messages and Methods
Subject Entity Privileges

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