Is there a way to patch xConnect, AutomationEngine, IndexWorker configuration in a way we do it for sitecore instance?

I.e. configuration that resides in xConnect instance folders:

  • \App_data\config\sitecore

  • \App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore

  • \App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore

where configuration is xml based rather then .config

  • @SitecoreClimber for example patch sc.Xdb.Collection.IndexerSettings.xml to set IndexAnonymousContactData=true
    – lebeg
    Nov 12 '17 at 14:10

You should be able to patch xml configuration files in the following way:

  1. Create patch config file with the name: sc.(patch name).xml
  2. Add the actual settings to patch:

e.g. patch IndexAnonymousContactData setting

  1. Patches are applied in alphabetical order, so the patch file has to reside in a folder that goes after the folder which is being patched, i.e. after SearchIndexer folder, for example you could use folder called SearchIndexer_patch.
  • 1
    Finally had a chance to test it. Confirm it works as described. Thanks @grg
    – lebeg
    Nov 21 '17 at 10:37
  • Can you elaborate on sc.(patch name).xml? Should (patch name) match the file you are patching exactly or can it be a custom value?
    – TxRegex
    May 31 '19 at 19:36
  • 1
    @TxRegex seems like it has to be the exact same name
    – Chris Auer
    Oct 6 '19 at 23:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.