Event handler in the Knowledge article view component
reference australia Updated Sep 10, 2026 1 min read we-know-article-view-event-handler.md
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_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 |
Related topics
Configure the Knowledge article view component instance
Embed the Knowledge article view component instance on the third-party website
37 lines · 2.8 KB
--- title: Event handler in the Knowledge article view component description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/customer-service-management/we-know-article-view-event-handler.html release: australia topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Web Embeddables event handlers, Web Embeddables reference, Reference, Customer Service Management] --- # Event handler in the Knowledge article view component 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\_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`| **Related topics** [Configure the Knowledge article view component instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/customer-self-service-and-omnichannel-engagement/config-know-article-view-comp.md) [Embed the Knowledge article view component instance on the third-party website](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/customer-self-service-and-omnichannel-engagement/embed-know-article-view-comp.md) [Component properties for the Knowledge article view](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/we-know-article-view-comp-prop.md) [Sample code for the Knowledge article view component](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/customer-self-service-and-omnichannel-engagement/we-know-article-view-sample-code.md)
| title | Event handler in the Knowledge article view component |
| description | 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. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/customer-service-management/we-know-article-view-event-handler.html |
| release | australia |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Web Embeddables event handlersWeb Embeddables referenceReferenceCustomer Service Management |