Event handler in the Knowledge article view component

  • Release version: Australia
  • Updated March 12, 2026
  • 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.

    Table 1. Event handlers in the Knowledge article view component
    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