personaldocumenttemplate EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Description: Used to store Personal Document Templates in database in binary format.

Entity Set path:[organization URI]/api/data/v8.2/personaldocumenttemplates

Base Type: crmbaseentity EntityType

Display Name: Personal Document Template

Primary Key: personaldocumenttemplateid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

The personaldocumenttemplate entity type has no collection-valued navigation properties.

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name

Type

Details

associatedentitytypecode

Edm.String

Description: Associated Entity Type Code.

Display Name: Associated Entity Type Code

clientdata

Edm.String

Description: Client data regarding this personal document template.

content

Edm.String

Description: Bytes of the personal document template.

createdon

Edm.DateTimeOffset

Description: Date and time when the personal document template was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Additional information to describe the Personal Document Template

Display Name: Description

documenttype

Edm.Int32

Description: Option set for selecting the type of the personal document template

Default Options:

1 : Microsoft Excel
2 : Microsoft Word

Display Name: Type

languagecode

Edm.Int32

Description: Language of Personal Document Template.

Display Name: Language

modifiedon

Edm.DateTimeOffset

Description: Date and time when the personal document template was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the personal document template.

Display Name: Name

personaldocumenttemplateid

Edm.Guid

Description: Unique identifier of the personal document template.

Display Name: Personal Document Template Identifier

status

Edm.Boolean

Description: Information about whether the personal document template is active.

Default Options:

1 : Draft
0 : Activated

Display Name: Status

versionnumber

Edm.Int64

Description:

Read-only property

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties

Name

Single-valued navigation property

Description

_createdby_value

createdby

Unique identifier of the user who created the personal document template.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the personal document template.

_modifiedby_value

modifiedby

Unique identifier of the user who last modified the personal document template.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who modified the personal document template.

_ownerid_value

ownerid

Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.

_owningbusinessunit_value

owningbusinessunit

Unique identifier of the business unit that owns the personal document template.

_owningteam_value

Unique identifier of the team who owns the personal document template.

_owninguser_value

Unique identifier of the user who owns the personal document template.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name

Type

Partner

createdby

systemuser EntityType

lk_personaldocumenttemplatebase_createdby

createdonbehalfby

systemuser EntityType

lk_personaldocumenttemplatebase_createdonbehalfby

modifiedby

systemuser EntityType

lk_personaldocumenttemplatebase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_personaldocumenttemplatebase_modifiedonbehalfby

ownerid

principal EntityType

owner_personaldocumenttemplates

owningbusinessunit

businessunit EntityType

business_unit_personaldocumenttemplates

See Also

Use the Microsoft Dynamics 365 Web API
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright