Widget templates
Sitecore Discover widgets are dynamic components added to a page or an email message to deliver specific experiences. The primary purpose of a widget is to display content from Discover. Unlike content personalization widgets, which only display previously configured content, merchandising widgets can modify data requests based on context or user interactions.
The JS SDK for React package includes the following widget templates that can be instantiated only with a rfk_id
. At runtime, the JS SDK requests data for the widgets and supplies them with data required for configuration and display.
Sitecore Discover UI Components package contains widget templates for some typical use cases of preview search, search results and recommendation widgets. With the Discover CLI, you can replicate them in your project by simply answering a few questions, and modify the HTML with product
attributes as configured in the Discover Customer Engagement Console (CEC).