Content type synchronization ContentGraph

Vote:
 

Hi,

Is there a way to speed up the synchronization of updated content types to ContentGraph? When I add a property to a page, I have to wait for the scheduled job to finish before the updated property appears in the graph schema.

I'm working in my development environment. I know there is support for triggering an event when a content type is updated, but it doesn't seem to be working as expected.

Regards,
Tomas

#337870
Apr 17, 2025 13:38
Vote:
 

Hi Tomas,

Actually, you can turn on synchronizing content type metadata once starting app in development environment like that:

if (_webHostingEnvironment.IsDevelopment())
{
    services.Configure<EventIndexingOptions>(ops =>
    {
        ops.SyncContentTypesOnInit = true;
    });
}

By this way, you do not need to run index to see the new content type changes in Content Graph. Actually, there are both indexing content type schema and indexing content in the job so it could take times then only running schema update

#337873
Apr 17, 2025 15:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.