---
sourceDocument: Brazil Customer Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/customer-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil 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}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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` |
[Table 1. Event handlers in the Knowledge article view component]

{#we-know-article-view-event-handler__table_hxq_g3n_c2c}
**Related tasks**   

* [Configure the Knowledge article view component instance](https://www.servicenow.com/docs/YZyeNXp1W9UL_HFohESmlQ "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://www.servicenow.com/docs/eSGwxS7kVc60hIhmh2TfRQ "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.")  
**Related reference**   

* [Component properties for the Knowledge article view](https://www.servicenow.com/docs/uqhrFtqLQssjqtjKQoQ3yw "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://www.servicenow.com/docs/_TZfcgpAEVUdMyiMk1P4dA "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.")

