You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Migration.Tool.CLI/README.md
+31-20Lines changed: 31 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,6 +248,8 @@ Module and class migration does NOT include:
248
248
see [Role management](https://docs.xperience.io/x/7IVwCg)
249
249
and [UI page permission checks](https://docs.xperience.io/x/8IKyCg))
250
250
251
+
Custom module classes and the stored data records are either migrated as module classes in Xperience by Kentico (default behavior) or [reusable content items](https://docs.kentico.com/x/content_items_xp) in Content hub. See [Convert module classes to Content hub](#convert-module-classes-to-content-hub) for detailed information.
252
+
251
253
As with all object types, the Kentico Migration Tool does not transfer code files to the target project. You need to
252
254
manually move all code files generated for your custom classes (_Info_, _InfoProvider_, etc.).
253
255
@@ -416,7 +418,8 @@ Add the options under the `Settings` section in the configuration file.
| ConvertClassesToContentHub | Specifieswhichpagetypes, customtablesorcustommoduleclasses (see [custommoduleclassesmigration](#custom-module-classes-migration)) aremigratedto [reusablecontentitems](https://docs.kentico.com/x/content_items_xp) (instead of website channel pages or custom module classes for custom tables). Enter page type code names, separated with either `;` or `,`. See [Convert pages or custom tables to Content hub](#convert-pages-or-custom-tables-to-content-hub) for detailed information. |
421
+
| ConvertClassesToContentHub | Specifieswhichpagetypes, customtablesorcustommoduleclassesaremigratedto [reusablecontentitems](https://docs.kentico.com/x/content_items_xp) (instead of website channel pages or custom module classes for custom tables and classes). Enter page type code names, separated with either `;` or `,`. See [Convert pages or custom tables to Content hub](#convert-pages-or-custom-tables-to-content-hub) or [Convert module classes to Content hub](#convert-module-classes-to-content-hub) for detailed information. |
| MigrateMediaToMediaLibrary | Determineswhethermedialibraryfilesandattachmentsfromthesourceinstancearemigratedtothetargetinstanceasmedialibrariesoras [contentitemassets](https://docs.kentico.com/x/content_item_assets_xp) in the content hub. The default value is `false` – media files and attachments are migrated as content item assets. <br /><br /> See [Convert attachments and media library files to media libraries instead of content item assets](#convert-attachments-and-media-library-files-to-media-libraries-instead-of-content-item-assets) |
|CustomModuleClassDisplayNamePatterns|Specifiescontentitemdisplaynamefor custom module classes converted to reusable content item. It's a dictionary with class name as a key and pattern as a value. Your pattern can use placeholders for the source class columns.<br />Example: `CustomModuleItem-{CustomModuleGuid}`
|OptInFeatures.QuerySourceInstanceApi.Connections|Touse [sourceinstanceAPIdiscovery](#source-instance-api-discovery), youneedtoaddaconnectionJSONobjectcontainingthefollowingvalues:<br/>`SourceInstanceUri` -thebaseURIwherethesourceinstance's live site application is running.<br />`Secret` - the secret that you set in the _ToolkitApiController.cs_ file on the source instance. |
434
436
|OptInFeatures.CustomMigration.FieldMigrations|Enablesconversionofmediaselectiontextfieldstocontentitemassetsormedialibraryfiles. See [Converttextfieldswithmedialinks](#convert-text-fields-with-media-links) for more information. |
@@ -461,7 +463,10 @@ Add the options under the `Settings` section in the configuration file.
@@ -506,9 +511,6 @@ Add the options under the `Settings` section in the configuration file.
506
511
"Actions": ["convert to asset"],
507
512
"FieldNameRegex":".*"
508
513
}
509
-
},
510
-
"CustomModuleClassDisplayNamePatterns": {
511
-
"Module1.CustomClass1":"Item-{CustomClass1Guid}"
512
514
}
513
515
}
514
516
}
@@ -657,7 +659,28 @@ The migration then converts the specified page types or custom tables to content
657
659
658
660
For advanced scenarios, you can use the extensibility feature to implement [customizations](../Migration.Tool.Extensions/README.md#custom-class-mappings) that map specific page types, custom tables or their individual fields to reusable content types. For example, this allows you to migrate multiple page types to a single content type.
659
661
660
-
To preserve relationship between page converted to reusable content item and its children, you can use [Custom child links](../Migration.Tool.Extensions/README.md#custom-child-links). This feature allows you to map children of the original page to a content item/page selector field of the target reusable content item.
662
+
To preserve relationships between pages converted to reusable content items and its children, you can use [Custom child links](../Migration.Tool.Extensions/README.md#custom-child-links). This feature allows you to map children of the original page to a content item/page selector field of the target reusable content item.
663
+
664
+
## Convert module classes to Content hub
665
+
666
+
**Note**: This feature is only tested only when using Kentico Xperience 13 as the migration source.
667
+
668
+
You can migrate custom module classes and their data records to [Content hub items](https://docs.kentico.com/x/content_items_xp) instead of modules classes.
669
+
670
+
Specify a list of module class code names (separated with either `;` or `,`) in the `Settings.ConvertClassesToContentHub`[configuration option](#configuration). Optionally, you can specify the name pattern for the migrated content items using the `Settings.CustomModuleClassDisplayNamePatterns` option.
For advanced scenarios, you can use the extensibility feature to implement [customizations](../Migration.Tool.Extensions/README.md#custom-class-mappings) that map specific module classes or their individual fields to reusable content types. For example, this allows you to migrate multiple classes to a single content type.
683
+
661
684
## Convert page types to reusable field schemas
662
685
663
686
It is not possible to migrate any page types that inherit fields from other page types. However, to make the manual
@@ -806,16 +829,4 @@ Additionally, any attachments placed into the content of migrated pages **will n
806
829
This includes images and file download links that use **/getattachment** and **/getimage** URLs.
807
830
808
831
If you wish to continue using these legacy attachment URLs from earlier product versions, you need to add a custom
809
-
handler to your Xperience by Kentico project.
810
-
See [`Migration.Tool.KXP.Extensions/README.MD`](/Migration.Tool.KXP.Extensions/README.MD) for instructions.
811
-
812
-
## Custom module classes migration
813
-
814
-
Items of custom module classes can be migrated to reusable content items. You may also apply custom class mapping extension.
815
-
816
-
**Note that this feature is tested only for Kentico 13 version of source instance.**
817
-
818
-
To achieve migration to reusable content items:
819
-
1. Specify the module's class name(s) in ConvertClassesToContentHub appsettings list
820
-
2.*Optional:* Specify display name pattern using CustomModuleClassDisplayNamePatterns appsettings configuration key
821
-
2.*Optional:* Register custom mapping. See [`Migration.Tool.KXP.Extensions/README.MD`](/Migration.Tool.KXP.Extensions/README.MD) for instructions.
832
+
handler to your Xperience by Kentico project. See [`Migration.Tool.KXP.Extensions/README.MD`](/Migration.Tool.KXP.Extensions/README.MD) for instructions.
Copy file name to clipboardExpand all lines: Migration.Tool.Extensions/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,7 +229,7 @@ You can customize class mappings to adjust the content model between the source
229
229
230
230
8. Ensurethatyourclassmapping extension methods run during the startup of the migration tool. Call the methods from `UseCustomizations` in the [ServiceCollectionExtensions](/Migration.Tool.Extensions/ServiceCollectionExtensions.cs) class.
231
231
232
-
**Note**: Yourmappingsnowreplacethedefaultmigrationfunctionalityforalldataclasses (pagetypesorcustomtables) thatyouuseasasource. Anyclass where you set at least one source field is affected. If you map only some fields from a source class, the remaining fields are not migrated at all.
232
+
**Note**: Yourmappingsnowreplacethedefaultmigrationfunctionalityforalldataclasses (pagetypes, customtablesorcustommoduleclasses) thatyouuseasasource. Anyclass where you set at least one source field is affected. If you map only some fields from a source class, the remaining fields are not migrated at all.
Copy file name to clipboardExpand all lines: docs/Supported-Data.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Currently, the Kentico Migration Tool supports the following types of data:
21
21
- However, you can create [reusable field schemas](../Migration.Tool.CLI/README.md#convert-page-types-to-reusable-field-schemas) for page types from which other page types inherit.
22
22
- All migrated Content types have the **Include in routing** option enabled (the migration never creates pages without URL and routing).
23
23
-**Pages**
24
-
- Pages can be migrated to either to [website channel pages](https://docs.kentico.com/x/JwKQC) (default behavior) or [reusable content items](https://docs.kentico.com/x/barWCQ) in Content hub.
24
+
- Pages can be migrated either to [website channel pages](https://docs.kentico.com/x/JwKQC) (default behavior) or [reusable content items](https://docs.kentico.com/x/barWCQ) in Content hub.
25
25
- The migration includes the following versions of pages:
26
26
-_Published_
27
27
-_Latest draft version_ - for published pages, the version is migrated to the _Draft (New version)_[status](https://docs.kentico.com/x/JwKQC); for pages that do not have a published version, the version is migrated to the _Draft (Initial)_ status.
@@ -67,6 +67,7 @@ Currently, the Kentico Migration Tool supports the following types of data:
67
67
- Custom settings under modules, which are currently not supported in Xperience by Kentico
68
68
- Module permissions (permissions work differently in Xperience by Kentico - see [Role management](https://docs.kentico.com/x/7IVwCg) and [UI page permission checks](https://docs.kentico.com/x/8IKyCg))
69
69
- As with all object types, the Kentico Migration Tool does not transfer code files to the target project. You must manually move all code files generated for your custom classes (_Info_, _InfoProvider_, etc.).
70
+
- Module classes and the stored data can optionally be migrated as [reusable content items](https://docs.kentico.com/x/content_items_xp) in Content hub.
70
71
-**Custom tables**
71
72
- Custom tables are not supported in Xperience by Kentico. Data from custom tables can be migrated to the target instance either as [custom module classes](https://docs.kentico.com/x/AKDWCQ) (default behavior) or as [reusable content items](https://docs.kentico.com/x/content_items_xp) in Content hub.
72
73
- Any user interface, listings, filters, and other functionality related to migrated custom tables needs to be implemented in the target instance.
0 commit comments