Override content widget configuration
Typically, you configure the content and appearance settings for a content personalization widget in Sitecore Search. For banner and HTML block widgets, this can include URLs, text, and HTML.
To override Sitecore Search configuration of a banner widget whose rfkId is banner_2:
-
In Sitecore Search, in the Widgets section, on the Widgets tab, find the banner widget and note its
rfkId. -
In your React project, in the
widget_componentsfolder, create a file calledtemporaryBanner.js, and paste the following code block. -
Import and add the widget component to your application or page component.
-
Update component name and imports.
-
Test the pages where the banner is displayed.