Enable / disable File Indexing for a tenant


In order to enable / disable indexing of file based types (e.g. S3), it needs to be enabled / disabled at a Tenant level.

To see the status of this:
Look at the FileDataconfig attributes, specifically indexingEnabled.

To enable this (if indexingEnabled == false), execute:
TenantConfig.upsert({id:“FileDataConfig”, jsonValue:{indexingEnabled:true, guessMetadata:true}});

To disable it:
TenantConfig.upsert({id:“FileDataConfig”, jsonValue:{indexingEnabled:false, guessMetadata:true}});

Useful TenantConfig keys