Skip to content

Commit cf306b1

Browse files
authored
More examples shared (#6)
* Fix calendar * Calendar export config updated * Duplicate Detection Rules Added * Knowledge articles and subject demo added * Crm Portals and Org settings added
1 parent a2759ea commit cf306b1

File tree

14 files changed

+1151
-1
lines changed

14 files changed

+1151
-1
lines changed

Capgemini.Xrm.Datamigration/Capgemini.Xrm.Datamigration.Examples/Capgemini.Xrm.Datamigration.Examples.csproj

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,39 @@
122122
</ItemGroup>
123123
<ItemGroup>
124124
<None Include="App.config" />
125+
<None Include="DemoScenarios\Calendars\ExportConfig.json">
126+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
127+
</None>
128+
<None Include="DemoScenarios\Calendars\ImportConfig.json">
129+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
130+
</None>
125131
<None Include="DemoScenarios\Contacts\Schema.xml">
126132
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
127133
</None>
134+
<None Include="DemoScenarios\CrmPortals\ExportConfig.json">
135+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
136+
</None>
137+
<None Include="DemoScenarios\CrmPortals\ImportConfig.json">
138+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
139+
</None>
140+
<None Include="DemoScenarios\DuplicateDetection\ExportConfig.json">
141+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
142+
</None>
143+
<None Include="DemoScenarios\DuplicateDetection\ImportConfig.json">
144+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
145+
</None>
128146
<None Include="DemoScenarios\OrganizationHierarchy\ExportConfig.json">
129147
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
130148
</None>
131149
<None Include="DemoScenarios\OrganizationHierarchy\ImportConfig.json">
132150
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
133151
</None>
152+
<None Include="DemoScenarios\SubjectsAndArticles\ExportConfig.json">
153+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
154+
</None>
155+
<None Include="DemoScenarios\SubjectsAndArticles\ImportConfig.json">
156+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
157+
</None>
134158
<None Include="packages.config" />
135159
<None Include="Properties\Settings.settings">
136160
<Generator>SettingsSingleFileGenerator</Generator>
@@ -155,5 +179,25 @@
155179
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
156180
</None>
157181
</ItemGroup>
182+
<ItemGroup>
183+
<None Include="DemoScenarios\SubjectsAndArticles\Schema.xml">
184+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
185+
</None>
186+
</ItemGroup>
187+
<ItemGroup>
188+
<None Include="DemoScenarios\DuplicateDetection\Schema.xml">
189+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
190+
</None>
191+
</ItemGroup>
192+
<ItemGroup>
193+
<None Include="DemoScenarios\OrgSettings\Schema.xml">
194+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
195+
</None>
196+
</ItemGroup>
197+
<ItemGroup>
198+
<None Include="DemoScenarios\CrmPortals\Schema.xml">
199+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
200+
</None>
201+
</ItemGroup>
158202
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
159203
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"CrmMigrationToolSchemaPaths": [
3+
"GetAutomatically"
4+
],
5+
"JsonFolderPath": "GetAutomatically",
6+
"PageSize": 500,
7+
"BatchSize": 1000,
8+
"TopCount": 10000,
9+
"OnlyActiveRecords": false,
10+
"OneEntityPerBatch": true,
11+
"FilePrefix": "Calendars",
12+
"SeperateFilesPerEntity": true,
13+
"CrmMigrationToolSchemaFilters": {
14+
"calendar": "<filter type=\"or\"> <condition attribute=\"type\" operator=\"in\"><value>1</value><value>2</value></condition> <condition attribute=\"calendarid\" operator=\"eq\" value=\"49eff0d2-105b-e911-a98f-000d3ab11b7a\"/> </filter> "
15+
},
16+
"LookupMapping": {
17+
"calendar": {
18+
"businessunitid": [
19+
"name"
20+
]
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"JsonFolderPath": "GetAutomatically",
3+
"IgnoreStatuses": true,
4+
"IgnoreSystemFields": true,
5+
"SaveBatchSize": 50,
6+
"DeactivateAllProcesses": false,
7+
"FilePrefix": "Calendars",
8+
"PassOneReferences": [
9+
"businessunit",
10+
"uom",
11+
"uomschedule",
12+
"queue"
13+
],
14+
"MigrationConfig": {
15+
"ApplyAliasMapping": true,
16+
"SourceRootBUName": "capgeminitest"
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"CrmMigrationToolSchemaPaths": [
3+
"GetAutomatically"
4+
],
5+
"JsonFolderPath": "GetAutomatically",
6+
"PageSize": 500,
7+
"BatchSize": 1000,
8+
"TopCount": 10000,
9+
"OnlyActiveRecords": false,
10+
"OneEntityPerBatch": true,
11+
"FilePrefix": "CrmPortals",
12+
"SeperateFilesPerEntity": true,
13+
"CrmMigrationToolSchemaFilters": {
14+
"adx_sitesetting": "<filter> <condition attribute=\"adx_name\" value=\"Authentication/OpenAuth/%\" operator=\"not-like\"/> </filter>"
15+
},
16+
"LookupMapping": {
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"JsonFolderPath": "GetAutomatically",
3+
"IgnoreStatuses": true,
4+
"IgnoreSystemFields": true,
5+
"FiledsToIgnore": [
6+
"createdby",
7+
"createdonbehalfby",
8+
"createdon",
9+
"importsequencenumber",
10+
"modifiedby",
11+
"modifiedonbehalfby",
12+
"modifiedon",
13+
"ownerid",
14+
"owningbusinessunit",
15+
"owningteam",
16+
"owninguser",
17+
"overriddencreatedon",
18+
"timezoneruleversionnumber",
19+
"utcconversiontimezonecode",
20+
"versionnumber",
21+
"transactioncurrencyid",
22+
"organizationid",
23+
"statecode",
24+
"statuscode"
25+
],
26+
"SaveBatchSize": 50,
27+
"DeactivateAllProcesses": true,
28+
"FilePrefix": "CrmPortals",
29+
"PassOneReferences": [
30+
"businessunit",
31+
"uom",
32+
"uomschedule",
33+
"queue"
34+
],
35+
"MigrationConfig": {
36+
"ApplyAliasMapping": true,
37+
"SourceRootBUName": "capgeminitest"
38+
},
39+
"EntitiesToSync": [
40+
"adx_weblink",
41+
"adx_webpage",
42+
"adx_sitesetting"
43+
]
44+
}

0 commit comments

Comments
 (0)