Include advanced contextual search results in Auto-Responder notifications

  • Release version: Australia
  • Updated March 12, 2026
  • 2 minutes to read
  • Use scripted extension points to include the advanced contextual search results in email notifications for content suggested by the Auto-Responder feature.

    Before you begin

    Role required: admin

    About this task

    The Email Notification Script for Contextual Search Results plugin (com.snc.adv_cxs_results_email_script) installs the csm_AdvancedEmailSearchResults script, CSMAdvancedEmailSearchResults script include and CSMAdvancedEmailSearchResultsExtensionPoint extension points.

    The csm_AdvancedEmailSearchResults script is preconfigured for the customer service portal and consumer service portal.

    Using extension points makes it easier to integrate customizations without actually altering the base code. You can extend standard base functionality using customized scripts. For more information, see Using extension points to extend application functionality.

    An implementation is available in the base system for scripted extension points. You can modify the data and add additional fields.

    Procedure

    1. Navigate to All > System Extension Points > Scripted Extension Points.
    2. In the API Name column, search for and click sn_adv_emailscript.CSMAdvancedEmailSearchResultsExtensionPoint.
    3. On the Extension Point form, select a script include to use the CSMAdvancedEmailSearchResultsExtensionPoint extension points.
    4. Modify the script to use the extension points available through the CSMAdvancedEmailSearchResults script include.

      You can create multiple implementations for each extension point and provide an order number for each implementation. The implementation that has the lowest order number is executed first.

      Table 1. Configuration for different extension points implementation
      Configuration Implementation
      Include a custom portal and search for knowledge articles from the knowledge base associated with the custom portal.
      Note:
      Applies only to tasks other than customer service cases.
      Modify the updateSearchRequestConfig extension point to include the custom portal for your tasks other than customer service cases.
      Filter out the content by the duration of the last viewed content. Modify the getViewedContent extension point by entering the last viewed content duration in days.
      Note:
      By default, any knowledge articles viewed in the last 30 days by the user are not included in the email notification.
      Define the layout of the email notifications.

      Modify the printSearchResults extension point to specify a custom layout for the Auto-Responder email notifications.

    5. On the Extension Point form, click Update.