Dynamics 365 — RootComponent Types

Pascal Krüttli
2 min readJul 6, 2017

--

Beim Importieren von Solutions stösst man frühren oder später auf Probleme. Ein absoluter Klassiker dabei ist beispielsweise der Importfehler “Cannot add a Root Component ‘GUID’ of type 29 because it is not in the target system”.

Doch was genau ist ein “Root Component”, und was bedeutet Typ 29 in diesem Zusammenhang?

Ein Root Component ist ein einzelner bestandteil Teil einer Solution. In der Regel handelt es sich dabei um eine XML Definition.

RootComponent Types (Juli 2017)
Hier eine Liste der in Version 8.2 gültigen Typen.

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
65 : Hierarchy Rule
66 : Custom Control
68 : Custom Control Default Config
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
161 : Mobile Offline Profile
162 : Mobile Offline Profile Item
165 : Similarity Rule

Schlussfolgerung
Dem zu folge müssen wir den Workflow mit der Id entsprechenden ID entweder zur Solution hinzufügen müssen, oder den Workflow vorgängig ins Zielsystem importieren müssen.

Quellen:
https://msdn.microsoft.com/en-us/library/mt608054.aspx

--

--