Closed dluk closed 3 months ago
Optimizely would need to add support for the ContentBase
content type in Optimizely.ContentGraph.Cms.Core.Internal.ContentSerializer
public string[] SupportedContentBaseTypes
{
get
{
return new string[11]
{
"Page",
"Media",
"Image",
"Video",
"Block",
"Catalog",
"Node",
"Product",
"Variation",
"Bundle",
"Package"
};
}
}
This has been flagged with the Optimizely Product / Engineering teams.
When synchronizing content to Optimizely Graph categories itself are not synchronized and content links expanded from Graph query are also empty for categories. Query to graph:
query test { DetailPage { items { Categories { Id Expanded { Name ParentLink { Id } } } } }
response from graph:
After some debugging it appears that Graph content serializer
Optimizely.ContentGraph.Cms.Core.Internal.ContentSerializer
only supports these Base content types:And category types are stored in database table
[dbo].[tblContentType]
withBase
column as NULL. SQL query:Query result:
Our
SiteCategory
class:And
Categories
property onDetailPage
content type:Will this be fixed and is there a workaround to make it synchronize categories to Optimizely Graph?