The following reusable field schemas do not exist
2025/05/10 5:39 PM
Some web page types inherit from a reusable schema, some do not. The below query for my sitemap throws the error "The following reusable field schemas do not exist 'BasePage'". I ran codegen for the content types and reusable schema types. I am not sure why I am getting this error.
var b = new ContentItemQueryBuilder()
.ForContentTypes(c => c
.OfReusableSchema(IBasePage.REUSABLE_FIELD_SCHEMA_NAME)
.ForWebsite(website.WebsiteChannelName))
.InLanguage(preferredLanguageRetriever.Get());
Environment
Xperience by Kentico version: [30.1.10
.NET version: [8]
Execution environment: [local]
Link to relevant Xperience by Kentico documentation
Answers
To answer this question, you have to login first.