Newer Version Available

This content describes an older version of this product. View Latest

IndustriesSettings

Represents settings for Consumer Goods Cloud.This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for more details.

IndustriesSettings are stored in a single file named Industries.settings in the settings directory.

Version

Industries settings are available in API version 47.0 and later.

Special Access Rules

Users need the Health Cloud permissions to access the settings available in editions with Health Cloud.

Fields for Consumer Goods Cloud

Field Name Field Type Description
enableObjectDetection boolean Indicates whether Einstein Object Detection is enabled for your org. The default is false. This field is available in editions where Consumer Goods Cloud is enabled.

Declarative Metadata Sample Definition

The following is an example of a Industries.Settings metadata file.

1<?xml version="1.0" encoding="UTF-8"?>
2<IndustriesSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3    <enableObjectDetection>true</enableObjectDetection>
4</IndustriesSettings>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>Industries</members>
5        <name>Settings</name>
6    </types>
7    <version>47.0</version>
8</Package>