Modify content programmatically

After indexing content, you should review your item properties in the Coveo Administration Console.

You may wonder how you can automate changes to your content items during the indexing process. Depending on the type of source your items come from and precisely what you must do, modify them within Sitecore, in the Coveo Platform, or either way.

Modifying content in Sitecore

If you’re using the Coveo for Sitecore package on a Sitecore on-premises instance, you can use the Coveo item processing pipelines to modify content before it’s indexed.

This method lets you leverage the Sitecore context to modify Sitecore source items. The drawback is that it puts a heavy demand on Sitecore during indexing.

Modifying content in the Coveo Platform

You can modify items in the Coveo Platform using Coveo indexing pipeline extensions.

This method can be used for all types of sources, not only Sitecore sources.

Centralizing your indexing customizations in the Coveo Platform simplifies script management and reduces the load on your Sitecore instance.