File Suffix and Directory Location
SvcCatalogItemDef components have the suffix catalogItem and are stored in the svcCatalogItems folder.
Version
SvcCatalogItemDef components are available in API version 53.0 and later.
Fields
| Field Name | Description |
|---|---|
| apiVersion |
|
| catalogFilterCriteria |
|
| categories |
|
| dataCategories |
|
| description |
|
| flow |
|
| fulfillmentFlow |
|
| image |
|
| inputs |
|
| internalNotes |
|
| isAvailableToAllCustomers |
|
| isFeatured |
|
| isGuestAccessible |
|
| isProtected |
|
| masterLabel |
|
| sharedTo |
|
| status |
|
SvcCatalogItemDefFiltrCrit
Represents the association of an eligibility rule with a catalog item. Eligibility rules customize access to catalog items for different audiences, based on the User object. Available in version 59.0 and later.
| Field Name | Description |
|---|---|
| svcCatalogFilterCriteria |
|
SvcCatalogCategoryItem
Represents the assignment of this service to a category within the Service Catalog.
| Field Name | Description |
|---|---|
| isPrimaryCategory |
|
| sortOrder |
|
| svcCatalogCategory |
|
SvcCatalogItemDefDataCategorySelection
Represents a list of data categories for this catalog item. This subtype is available in API version 59.0 and later.
| Field Name | Description |
|---|---|
| category |
|
| categoryGroup |
|
SvcCatalogItemAttribute
Represents an attribute of a catalog item version. It can be a static input filled by the catalog builder user or additional questions that end users answer at runtime. Available in API version 57.0 and later.
| Field Name | Description |
|---|---|
| field |
|
| inputType |
|
| inputVariable |
|
| isRequired |
|
| label |
|
| maxValue |
|
| minValue |
|
| name |
|
| object |
|
| options |
|
| type |
|
| value |
|
SvcCatalogItemAttrDetail
Represents the details for an attribute of an item version. Used for options displayed in picklist or checkbox groups.
| Field Name | Description |
|---|---|
| isDefault |
|
| label |
|
| value |
|
Declarative Metadata Sample Definition
The following is an example of a SvcCatalogItemDef component.
<SvcCatalogItemDef xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>57.0</apiVersion> <categories> <isPrimaryCategory>true</isPrimaryCategory> <sortOrder>3</sortOrder> <svcCatalogCategory>Category1</svcCatalogCategory> </categories> <dataCategories> <category>France</category> <categoryGroup>World</categoryGroup> </dataCategories> <masterLabel>Item Draft Update</masterLabel> <description>Item with a Draft state</description> <fulfillmentFlow>TestQuestions</fulfillmentFlow> <isFeatured>false</isFeatured> <isProtected>false</isProtected> <status>Published</status> <inputs> <name>Input1</name> <type>FulfillmentInput</type> <inputVariable>input1</inputVariable> <label>Input Static</label> <inputType>Text</inputType> <isRequired>false</isRequired> </inputs> <inputs> <type>UserQuestion</type> <inputType>Picklist</inputType> <isRequired>false</isRequired> <label>My First Question</label> <name>first_question</name> <options> <label>Option 1</label> <value>option_1</value> <isDefault>true</isDefault> </options> <options> <label>Option 2</label> <value>option_2</value> <isDefault>false</isDefault> </options> <options> <label>Option 3</label> <value>option_3</value> <isDefault>false</isDefault> </options> </inputs> </SvcCatalogItemDef>
Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.