Newer Version Available
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 |
|---|---|
| categories |
|
| description |
|
| flow |
|
| image |
|
| internalNotes |
|
| isFeatured |
|
| isProtected |
|
| masterLabel |
|
| sharedTo |
|
| status |
|
SvcCatalogCategoryItem
Represents the assignment of this service to a category within the Service Catalog.
| Field Name | Description |
|---|---|
| isPrimaryCategory |
|
| sortOrder |
|
| svcCatalogCategory |
|
SvcCatalogItemAttribute
Represents an attribute of a catalog item version. It can be a static input filled by the catalog builder user or additional user questions to be answered at runtime by end-users.
| Field Name | Description |
|---|---|
| field |
|
| inputType |
|
| inputVariable |
|
| isRequired |
|
| label |
|
| maxValue |
|
| minValue |
|
| name |
|
| object |
|
| options |
|
| type |
|
| value |
|
SvcCatalogItemAttrDetail
Represents the details attached to an attribute of an item version. This is typically used for options displayed in picklist or checkbox groups when asking users to answers that kind of questions.
| 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 <masterLabel>Item Draft Update</masterLabel>
9 <description>Item with a Draft state</description>
10 <fulfillmentFlow>TestQuestions</fulfillmentFlow>
11 <isFeatured>false</isFeatured>
12 <isProtected>false</isProtected>
13 <status>Published</status>
14 <inputs>
15 <name>Input1</name>
16 <type>FulfillmentInput</type>
17 <inputVariable>input1</inputVariable>
18 <label>Input Static</label>
19 <inputType>Text</inputType>
20 <isRequired>false</isRequired>
21 </inputs>
22 <inputs>
23 <type>UserQuestion</type>
24 <inputType>Picklist</inputType>
25 <isRequired>false</isRequired>
26 <label>My First Question</label>
27 <name>first_question</name>
28 <options>
29 <label>Option 1</label>
30 <value>option_1</value>
31 <isDefault>true</isDefault>
32 </options>
33 <options>
34 <label>Option 2</label>
35 <value>option_2</value>
36 <isDefault>false</isDefault>
37 </options>
38 <options>
39 <label>Option 3</label>
40 <value>option_3</value>
41 <isDefault>false</isDefault>
42 </options>
43 </inputs>
44</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.