---
sourceDocument: Australia Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/customer-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Event handler in the Catalog item component

# Event handler in the Catalog item component {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

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.
{#we-catalog-item-event-handler__table_usm_bw3_dcc__entry__3}

| 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` |
[Tabela 1. Event handlers in the Catalog item component]

{#we-catalog-item-event-handler__table_usm_bw3_dcc}
**Tarefas relacionadas**   

* [Configure the Catalog item component instance](https://servicenow-prod.fluidtopics.net/S2oR924nhI77k7dNp5VfWQ "Configure the Catalog item component instance so that your users can embed it on their website to request an item or service from their website.")
* [Embed the Catalog item component instance on the third-party website](https://servicenow-prod.fluidtopics.net/IuAhk1Iqe_MIv9XZMoFXMQ "Embed the global code and component code of the Catalog item component instance that you configured so that you can enable your customers to start using the Catalog item component instance on your third-party website.")  
**Referência relacionada**   

* [Component properties for the Catalog item](https://servicenow-prod.fluidtopics.net/1iaPuk7osBhhyr4TMDpXnA "Component property enables you to configure the behavior of the Catalog item component instance on the third-party website.")
* [Sample code for the Catalog item component](https://servicenow-prod.fluidtopics.net/nmtabs~Bkgph4cq~x5J4gw "Sample code is provided to define an action when an event is triggered. Update the sample code for your use case before embedding the component on your webpage.")

