Dela via


dependency EntityType

 

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

Description: A component dependency in CRM.

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

Base Type: crmbaseentity EntityType

Display Name: Dependency

Primary Key: dependencyid

Properties

Lookup Properties

Operations using the dependency entity type.

The dependency entity type has no single-valued navigation properties.

The dependency 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

dependencyid

Edm.Guid

Description: Unique identifier of a dependency.

Display Name: Dependency Identifier

Read-only property

dependencytype

Edm.Int32

Description: The dependency type of the dependency.

Default Options:

0 : None
1 : Solution Internal
2 : Published
4 : Unpublished

Display Name: Dependency Type

Read-only property

dependentcomponentbasesolutionid

Edm.Guid

Description:

Read-only property

dependentcomponentobjectid

Edm.Guid

Description:

Read-only property

dependentcomponentparentid

Edm.Guid

Description:

Read-only property

dependentcomponenttype

Edm.Int32

Description:

Default Options:

1 : Entity
2 : Attribute
3 : Relationship
4 : Attribute Picklist Value
5 : Attribute Lookup Value
6 : View Attribute
7 : Localized Label
8 : Relationship Extra Condition
9 : Option Set
10 : Entity Relationship
11 : Entity Relationship Role
12 : Entity Relationship Relationships
13 : Managed Property
14 : Entity Key
20 : Role
21 : Role Privilege
22 : Display String
23 : Display String Map
24 : Form
25 : Organization
26 : Saved Query
29 : Workflow
31 : Report
32 : Report Entity
33 : Report Category
34 : Report Visibility
35 : Attachment
36 : Email Template
37 : Contract Template
38 : KB Article Template
39 : Mail Merge Template
44 : Duplicate Rule
45 : Duplicate Rule Condition
46 : Entity Map
47 : Attribute Map
48 : Ribbon Command
49 : Ribbon Context Group
50 : Ribbon Customization
52 : Ribbon Rule
53 : Ribbon Tab To Command Map
55 : Ribbon Diff
59 : Saved Query Visualization
60 : System Form
61 : Web Resource
62 : Site Map
63 : Connection Role
70 : Field Security Profile
71 : Field Permission
90 : Plugin Type
91 : Plugin Assembly
92 : SDK Message Processing Step
93 : SDK Message Processing Step Image
95 : Service Endpoint
150 : Routing Rule
151 : Routing Rule Item
152 : SLA
153 : SLA Item
154 : Convert Rule
155 : Convert Rule Item
65 : Hierarchy Rule
161 : Mobile Offline Profile
162 : Mobile Offline Profile Item
165 : Similarity Rule
66 : Custom Control
68 : Custom Control Default Config

Read-only property

requiredcomponentbasesolutionid

Edm.Guid

Description:

Read-only property

requiredcomponentintroducedversion

Edm.Double

Description:

Read-only property

requiredcomponentobjectid

Edm.Guid

Description:

Read-only property

requiredcomponentparentid

Edm.Guid

Description:

Read-only property

requiredcomponenttype

Edm.Int32

Description:

Default Options:

1 : Entity
2 : Attribute
3 : Relationship
4 : Attribute Picklist Value
5 : Attribute Lookup Value
6 : View Attribute
7 : Localized Label
8 : Relationship Extra Condition
9 : Option Set
10 : Entity Relationship
11 : Entity Relationship Role
12 : Entity Relationship Relationships
13 : Managed Property
14 : Entity Key
20 : Role
21 : Role Privilege
22 : Display String
23 : Display String Map
24 : Form
25 : Organization
26 : Saved Query
29 : Workflow
31 : Report
32 : Report Entity
33 : Report Category
34 : Report Visibility
35 : Attachment
36 : Email Template
37 : Contract Template
38 : KB Article Template
39 : Mail Merge Template
44 : Duplicate Rule
45 : Duplicate Rule Condition
46 : Entity Map
47 : Attribute Map
48 : Ribbon Command
49 : Ribbon Context Group
50 : Ribbon Customization
52 : Ribbon Rule
53 : Ribbon Tab To Command Map
55 : Ribbon Diff
59 : Saved Query Visualization
60 : System Form
61 : Web Resource
62 : Site Map
63 : Connection Role
70 : Field Security Profile
71 : Field Permission
90 : Plugin Type
91 : Plugin Assembly
92 : SDK Message Processing Step
93 : SDK Message Processing Step Image
95 : Service Endpoint
150 : Routing Rule
151 : Routing Rule Item
152 : SLA
153 : SLA Item
154 : Convert Rule
155 : Convert Rule Item
65 : Hierarchy Rule
161 : Mobile Offline Profile
162 : Mobile Offline Profile Item
165 : Similarity Rule
66 : Custom Control
68 : Custom Control Default Config

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

_dependentcomponentnodeid_value

Unique identifier of the dependent component's node.

_requiredcomponentnodeid_value

Unique identifier of the required component's node

Operations using the dependency entity type.

The following operations use the dependency entity type in a parameter or return type.

Name

How used

Description

RetrieveDependenciesForDelete Function

ReturnType

Retrieves a collection of dependency records that describe any solution components that would prevent a solution component from being deleted.

RetrieveDependenciesForUninstall Function

ReturnType

Retrieves a list of the solution component dependencies that can prevent you from uninstalling a managed solution.

RetrieveDependentComponents Function

ReturnType

Retrieves a list dependencies for solution components that directly depend on a solution component.

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