Newer Version Available
MarketSegmentDefinition
Parent Type
This type extends the Metadata type and inherits its fullName field.
File Suffix and Directory Location
MarketSegmentDefinition components have the suffix .marketSegmentDefinition and are stored in the marketSegmentDefinitions folder.
Version
MarketSegmentDefinition components are available in API version 55.0 and later.
Fields
| Field Name | Description |
|---|---|
| additionalMetadata |
|
| excludeCriteria |
|
| includeCriteria |
|
| masterLabel |
|
| segmentOn |
|
| segmentType |
|
Declarative Metadata Sample Definition
The following is an example of a MarketSegmentDefinition component.
1<?xml version="1.0" encoding="UTF-8"?>
2<MarketSegmentDefinition>
3 <segmentType>DBT</segmentType>
4 <includeCriteria>
5 <![CDATA[
6 <DbtPipeline>
7 <models>
8 <model>
9 <name>m1</name>
10 <sql>select ssot__Individual__dlm.ssot__Id__c from ssot__Individual__dlm</sql>
11 </model>
12 </models>
13 </DbtPipeline>
14 ]]>
15 </includeCriteria>
16 <masterLabel>msd2_simple</masterLabel>
17</MarketSegmentDefinition>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<ns2:Package xmlns:ns2="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>MarketSegmentDefinition</name>
6 </types>
7 <version>55.0</version>
8</ns2:Package>Wildcard Support in the Manifest File
The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.