---
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 Knowledge article view component

# Event handler in the Knowledge article view 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-know-article-view-event-handler__table_hxq_g3n_c2c__entry__3}

| Event handler | Description | Payload |
|-|-|-|
| SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #LANGUAGE_DROPDOWN_CLICKED | This event is dispatched when the user selects a language or version from the drop-down to open another article. | `articleID` |
| SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #RATING_CLICKED | This event is dispatched when the user provides a star rating for the article. | `rating` |
| SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #LINK_CLICKED | This event is dispatched when a link within the article body is selected. | `table, sys_id` |
| SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #COMPONENT_ERROR | This event is dispatched when an error occurs while loading the article content. | `errorMessage, errorType` |
| SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #COMPONENT_READY | This event is dispatched when the component is ready and usable. | None |
| SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #NOTIFICATION_LINK_CLICKED | This event is dispatched when link present on notification has been selected. | `table, sys_id` |
[Tabela 1. Event handlers in the Knowledge article view component]

{#we-know-article-view-event-handler__table_hxq_g3n_c2c}
**Tarefas relacionadas**   

* [Configure the Knowledge article view component instance](https://servicenow-prod.fluidtopics.net/JaVys8rjjJ~88C6fby0tgw "Configure the Knowledge article view component instance so that your users can embed it on their website to access knowledge articles from their website directly.")
* [Embed the Knowledge article view component instance on the third-party website](https://servicenow-prod.fluidtopics.net/vl3~VNEcMdGE1B0KNiohMA "Embed the global code and component code of the Knowledge article view component instance that you configured so that you can enable your customers to start using the Knowledge article view component instance on your third-party website.")  
**Referência relacionada**   

* [Component properties for the Knowledge article view](https://servicenow-prod.fluidtopics.net/UD_JB3S57gl1Q2OsaxpeiA "Component property enables you to configure the behavior of the Knowledge article view component instance on the third-party website.")
* [Sample code for the Knowledge article view component](https://servicenow-prod.fluidtopics.net/IYcn9GsPA0RGCt_XnTM6Rg "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.")

