Blog Discussion: Page type code generation with Xperience by Kentico
2024/02/14 4:44 PM
Blog Post: Page type code generation with Xperience by Kentico
Continue discussions 🤗 on this blog post below.
Answers
It is worth noting that since this article was published, the type parameter has been marked as obsolete with the release of reusable field schemas, you are now required to run the command individually for each type you want to generate.
See the release notes, and the documentation for generating the code files.
An updated example for generating page type code files, would be:
dotnet run --no-build -- --kxp-codegen --type "PageContentTypes" --location "../Goldfinch.Core/{type}/{dataClassNamespace}/{name}/"
To answer this question, you have to login first.