Migrating page types into templates from K12 to XbyK
I have asked about this prior but the answer isnt very clear to me. We are migrating a K12 MVC site to XbyK using the migration tool. The K12 site does not use Templates, however the XbyK site does. I understand the template is set on the content item in the ContentItemCommonData table in [ContentItemCommonDataVisualBuilderTemplateConfiguration] JSON , however it seems strange to create and add JSON to this db field to set the template. Is there no way to do this via the Kentico API?
Environment
- Xperience by Kentico version: [30.3.1]
- .NET version: [8]
- Execution environment:local
- Link to relevant Xperience by Kentico documentation
Answers
I don't think there's an API method, indeed updating the JSON field is usually how i've rolled in these situations. This is also why it's important to define templates EARLY, even if it's just 1 template for the content type, so you can easily switch to a different template (vs. if created without a template...no way to start using templates without DB operation)
To answer this question, you have to login first.