SvcCatalogItemDef defines an individual service available in the Service Catalog. It connects the item's audience and publication settings, category assignments, fulfillment flow, and the prefilled inputs or questions presented to users.
A catalog item is not the fulfillment flow itself. Its fulfillmentFlow names a related SvcCatalogFulfillmentFlow component. Publication and access are also separate: status records the publishing state, while access settings, eligibility rules, and group membership determine the audience.
Key Elements
| Element | What the Element Controls |
|---|---|
masterLabel |
Required. The primary label for the catalog item. |
status |
Required. Publishing state: Deprecated, Draft, PendingChanges, or Published. This is distinct from audience access. |
isAvailableToAllCustomers |
Required. Despite its name, controls internal-user access. Set to true to share with all internal users. |
isGuestAccessible |
Required. Controls guest access. Set to true to share with guests. |
sharedTo |
Group sharing. For this type, use the nested group element; other sharing targets exposed by the shared helper are not supported. |
catalogFilterCriteria |
Associates eligibility rules through nested svcCatalogFilterCriteria names. These rules customize access using the User object. |
fulfillmentFlow |
Name of the related SvcCatalogFulfillmentFlow component, not a direct flow name. |
apiVersion |
Records the API version in which the item was created, but its value updates based on fulfillmentFlow. |
categories |
Service Catalog category assignments. Each assignment names svcCatalogCategory; exactly one assignment must have isPrimaryCategory set to true. sortOrder controls position within the category. |
dataCategories |
Separate data-category classifications. Each selection uses the API names in category and categoryGroup. |
inputs |
Attributes of a catalog item version. The required nested type is FulfillmentInput for a prefilled input or UserQuestion for a runtime question. |
inputType |
Required within an input. Selects its data or display type, such as Text, Picklist, Checkbox, or Lookup. Other input settings apply according to this selection. |
inputVariable, value
|
Within an input, inputVariable identifies the variable receiving the attribute value. value holds a builder-defined attribute value. |
image |
The developer name of a content document to display for the item. It is not a record ID. |
isProtected |
Auto-generated and has no impact. It does not restrict access or protect the item. |
Behavior and Constraints
Internal access, guest access, and eligibility
isAvailableToAllCustomers corresponds to Allow Access for All Users under Internal Access in Catalog Item Builder. It does not mean "all external customers." isGuestAccessible corresponds to Guest Visibility under External Access. Both fields are required.
sharedTo uses the SharedTo helper, but this catalog-item type supports sharing with groups only. Use group, not groups. The helper's role, territory, queue, and other sharing targets do not extend the supported targets for catalog items.
Eligibility rules associated through catalogFilterCriteria customize access for audiences based on the User object. Interpret the item's audience using the applicable eligibility rules and group membership as well as its access flags. A Published status alone does not describe who can access the item.
Fulfillment inputs and user questions
Within inputs, type and inputType answer different questions. type distinguishes a builder-prefilled FulfillmentInput from a UserQuestion answered by the end user at runtime. inputType selects the attribute's data or display type.
inputVariable identifies where the attribute value is forwarded for fulfillment. value supplies a builder-defined value. For questions, isRequired determines whether the user must provide an answer, and label provides a translatable label.
Interpret the remaining settings in the context of the selected input type:
-
optionssupplies the labels and values displayed for picklist or checkbox options. Each option requireslabelandisDefault;isDefaultmarks a default option. -
objectapplies wheninputTypeisPicklistand contains the picklist object's custom API name. -
fieldapplies to Lookup/Reference display types. -
minValueandmaxValueapply to slider displays.
Categories and presentation
Exactly one Service Catalog category assignment per item must have isPrimaryCategory set to true. sortOrder positions the item relative to other items in that category; it is not an execution order.
dataCategories is a separate classification list. Its category and categoryGroup values are API names, and these selections do not replace the assignments in categories.
isFeatured determines whether the item belongs to the featured catalog items. internalNotes explains the item's behavior and implementation for other catalog builders.
Deployment and Retrieval
SvcCatalogItemDef components use the .catalogItem suffix and are stored in the svcCatalogItems folder. The type supports the wildcard * in the package.xml manifest.
When preparing a component for deployment, preserve the required masterLabel, status, isAvailableToAllCustomers, and isGuestAccessible values. Check the category assignments for exactly one primary category. A valid publication state does not replace the required access configuration.
Keep the different reference values distinct: fulfillmentFlow names a fulfillment-flow component, image uses a content document developer name, and data-category selections use category and group API names. Do not substitute a direct flow name or a content document record ID.
When comparing retrieved definitions, do not treat apiVersion as an immutable creation-time marker: its value updates based on fulfillmentFlow. Likewise, an exported isProtected value is not evidence of an access restriction or protection mechanism.
Before changing or removing an item, inspect any RecordActionDeployment components that reference it through action. That incoming relationship matters for impact assessment, but it does not establish a mandatory deployment sequence.
Relationships
The item connects a fulfillment-flow component with category assignments, eligibility-rule names, data-category selections, group sharing, and a content document developer name. The nested input and category structures belong to the item definition; they are not separate catalog items.
References
-
SvcCatalogFulfillmentFlow:fulfillmentFlow.
Referenced By
-
RecordActionDeployment:action.
Common Questions
Why can't a user access a published Service Catalog item?
Publication and audience access are separate. Check the internal or guest access setting, the applicable eligibility rules, and group membership. status set to Published does not by itself describe the item's audience.
Does isAvailableToAllCustomers grant access to external customers?
Despite its name, this field controls internal-user access. Setting it to true corresponds to Allow Access for All Users under Internal Access. Guest access uses isGuestAccessible.
What name belongs in fulfillmentFlow?
Use the name of the related SvcCatalogFulfillmentFlow component. The field is not a direct reference to a flow name.
Can a catalog item have more than one category?
categories is a list of category assignments, but exactly one assignment must be primary. Separate dataCategories selections do not replace those Service Catalog assignments.
How do I retrieve all SvcCatalogItemDef components?
Use the wildcard * for SvcCatalogItemDef in the package.xml manifest. Components use the .catalogItem suffix in the svcCatalogItems folder.