Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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 handlerDescriptionPayload
SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #LANGUAGE_DROPDOWN_CLICKEDThis 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_CLICKEDThis event is dispatched when the user provides a star rating for the article.rating
SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #LINK_CLICKEDThis event is dispatched when a link within the article body is selected.table, sys_id
SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #COMPONENT_ERRORThis event is dispatched when an error occurs while loading the article content.errorMessage, errorType
SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #COMPONENT_READYThis event is dispatched when the component is ready and usable.None
SN_EMBEDX_KNOWLEDGE_ARTICLE_VIEW #NOTIFICATION_LINK_CLICKEDThis 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

Component properties for the Knowledge article view

Sample code for the Knowledge article view component