-
Notifications
You must be signed in to change notification settings - Fork 10
Examples
The is a simple example of the configuration files for active Contacts.
-
Schema File
```xml <entities > <entity name="contact" displayname="Contact" etc="2" primaryidfield="contactid" primarynamefield="fullname" disableplugins="false"> <fields> <field displayname="First Name" name="firstname" type="string" /> <field displayname="Last Name" name="lastname" type="string" /> <field displayname="Parent Contact" name="parentcontactid" type="entityreference" lookupType="contact" /> <field displayname="Contact" name="contactid" type="guid" primaryKey="true" /> <field displayname="Home Phone" name="telephone2" type="string" /> <field displayname="Mobile Phone" name="mobilephone" type="string" /> </fields> <relationships /> </entity> </entities> ```
-
Export Config
```json { "CrmMigrationToolSchemaPaths": [ "ConfigDataSchema.xml" ], "CrmMigrationToolSchemaFilters": { "businessunit": "<filter type=\"and\"><condition attribute=\"parentbusinessunitid\" operator=\"not-null\" /></filter>", "team": "<filter type=\"and\"><condition attribute=\"teamtype\" value=\"0\" operator=\"eq\"/><condition attribute=\"businessunitid\" value=\"{932ECBF3-5031-E911-A978-0022480149C2}\" operator=\"eq\" uitype=\"businessunit\" uiname=\"Developer Services\"/></filter>\n", "subject": "<filter type=\"and\"><condition attribute=\"title\" operator=\"neq\" value=\"Default Subject\" /></filter>", "queue": "<filter type=\"and\"><condition attribute=\"name\" value=\"<%\" operator=\"not-like\"/></filter>" }, "PageSize": 1000, "BatchSize": 1000, "TopCount": 10000, "OnlyActiveRecords": false, "JsonFolderPath": "Extract", "OneEntityPerBatch": true, "FilePrefix": "EX0.1", "SeperateFilesPerEntity": true, "LookupMapping": {} } ```
-
Import Config
```json { "IgnoreStatuses": false, "IgnoreSystemFields": true, "MigrationConfig": { "ApplyAliasMapping": true, "SourceRootBUName": "Example1BU", "Mappings": {} }, "SaveBatchSize": 200, "JsonFolderPath": "Extract", "DeactivateAllProcesses": false, "FilePrefix": "EX0.1", "PassOneReferences": [ "businessunit", "subject", "uom", "uomschedule", "queue" ] } ```
The installation of the Nuget package will modify the .csproj file to add tasks into the project build process. When the "Clean" command is run on the project, the ExtractCrmCustomizations.ps1
powershell script will be executed using the configuration files that are mentioned on the Setup page to connect to Dynamics and extract the solution files into the "Src" folder of the project.
The installation of the Nuget package will modify the .csproj file to add tasks into the project build process. When the "Clean" command is run on the project, the ExtractCrmCustomizations.ps1
powershell script will be executed using the configuration files that are mentioned on the Setup page to connect to Dynamics and extract the solution files into the "Src" folder of the project.
The installation of the Nuget package will modify the .csproj file to add tasks into the project build process. When the "Clean" command is run on the project, the ExtractCrmCustomizations.ps1
powershell script will be executed using the configuration files that are mentioned on the Setup page to connect to Dynamics and extract the solution files into the "Src" folder of the project.