--- title: Modify content programmatically slug: '3091' canonical_url: https://docs.coveo.com/en/3091/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Modify content programmatically After indexing content, you should [review your item properties](https://docs.coveo.com/en/1712/) in the [Coveo Administration Console](https://docs.coveo.com/en/183/). You may wonder how you can automate changes to your content items during the indexing process. Depending on the type of [source](https://docs.coveo.com/en/246/) your items come from and precisely what you must do, modify them within Sitecore, in the [Coveo Platform](https://docs.coveo.com/en/186/), 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](https://docs.coveo.com/en/2565/) to modify content before it's indexed. This method lets you leverage the Sitecore context to modify [Sitecore source](https://docs.coveo.com/en/1579/) 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](https://docs.coveo.com/en/186/) using [Coveo indexing pipeline extensions](https://docs.coveo.com/en/3094/). This method can be used for all types of sources, not only [Sitecore sources](https://docs.coveo.com/en/1579/). Centralizing your indexing customizations in the [Coveo Platform](https://docs.coveo.com/en/186/) simplifies script management and reduces the load on your Sitecore instance.