Event handler in the Catalog item component

reference australia Updated Sep 10, 2026 1 min read we-catalog-item-event-handler.md
Raw file servicenow.com

A component triggers an event when a certain condition is met or on user interaction. The event can be used to execute an action through a code on a third-party webpage.

Event handler Description Payload
SN_EMBEDX_CATALOG_ITEM_FORM #COMPONENT_READY This event is dispatched when a component is ready and usable. N/A
SN_EMBEDX_CATALOG_ITEM_FORM #COMPONENT_ERROR This event is dispatched when a property validation or internal error occurs. errorMessage, errorType
SN_EMBEDX_CATALOG_ITEM_FORM #BUTTON_CLICKED This event is dispatched if any button is selected the confirmation message. table, record_sys_id, button_variant
SN_EMBEDX_CATALOG_ITEM_FORM #RECORD_CREATION_SUCCEEDED This event is dispatched if the record was successfully created. table, record_sys_id
SN_EMBEDX_CATALOG_ITEM_FORM #RECORD_CREATION_FAILED This event is dispatched if the record creation has failed. N/A
SN_EMBEDX_CATALOG_ITEM_FORM #COMPONENT_NOTIFICATION_SENT This event is dispatched when the component provides a notification for the end user. items

Related topics

Configure the Catalog item component instance

Embed the Catalog item component instance on the third-party website

Component properties for the Catalog item

Sample code for the Catalog item component

Search documentation
Search document titles and file paths on the australia branch