Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
SvcCatalogItemDef
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.
1<SvcCatalogItemDef xmlns="http://soap.sforce.com/2006/04/metadata">
2 <apiVersion>57.0</apiVersion>
3 <categories>
4 <isPrimaryCategory>true</isPrimaryCategory>
5 <sortOrder>3</sortOrder>
6 <svcCatalogCategory>Category1</svcCatalogCategory>
7 </categories>
8 <dataCategories>
9 <category>France</category>
10 <categoryGroup>World</categoryGroup>
11 </dataCategories>
12 <masterLabel>Item Draft Update</masterLabel>
13 <description>Item with a Draft state</description>
14 <fulfillmentFlow>TestQuestions</fulfillmentFlow>
15 <isFeatured>false</isFeatured>
16 <isProtected>false</isProtected>
17 <status>Published</status>
18 <inputs>
19 <name>Input1</name>
20 <type>FulfillmentInput</type>
21 <inputVariable>input1</inputVariable>
22 <label>Input Static</label>
23 <inputType>Text</inputType>
24 <isRequired>false</isRequired>
25 </inputs>
26 <inputs>
27 <type>UserQuestion</type>
28 <inputType>Picklist</inputType>
29 <isRequired>false</isRequired>
30 <label>My First Question</label>
31 <name>first_question</name>
32 <options>
33 <label>Option 1</label>
34 <value>option_1</value>
35 <isDefault>true</isDefault>
36 </options>
37 <options>
38 <label>Option 2</label>
39 <value>option_2</value>
40 <isDefault>false</isDefault>
41 </options>
42 <options>
43 <label>Option 3</label>
44 <value>option_3</value>
45 <isDefault>false</isDefault>
46 </options>
47 </inputs>
48</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.