Upgrades
Upgrades
Brightspot Enterprise 4.5 Developer Upgrade Guide

Post-Upgrade Verification Guide


Duplicate Dashboard Search Widget

SearchDashboardWidget was reworked and moved from project to platform code in Brightspot 4.5. Projects upgrading from Brightspot 4.2 will have a duplicate Search dashboard widget type in the CMS. While these widgets are named similarly, they provide slightly different functionality.

If you are not sure whether the existing search dashboard widget is being used, it is possible to keep both widgets but rename the existing widget.

How to check if your application has this issue

Navigate to the Dashboards page from the CMS hamburger menu. If there are no dashboards created, create one. Within this dashboard, add a dashboard column and add a widget. If you see two Search Widgets here, then you must execute the fix below.

Search widget duplicate issue.png Search widget duplicate issue.png

Solution

Navigate to brightspot.core.tool.SearchDashboardWidget (the existing class) and make the following changes:

Edit @Recordable.DisplayName("Search Widget") to the new title Search Widget - Legacy.

The beginning of your class should look like this now:

@Recordable.DisplayName("Search Widget - Legacy")
public class SearchDashboardWidget extends DashboardWidget {

Now both widgets are fully functioning, though we recommend projects to use the newer version of the widget for stability purposes. The old search widget will not receive updates.

New search widget version.png New search widget version.png

Previous Topic
Adding 4.5 Features Guide
Next Topic
Java 11 / Tomcat 9 Upgrade Guide
Was this topic helpful?
Thanks for your feedback.

Browse All Docs

Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Assets
Modules
Landing pages
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types