Favorite Gadgets in Dashboards

Available since version 3.0.0

A new feature has been created so that each user can manage the gadgets he or she have permissions to as favorites and then quickly add them to his or her dashboards.

If this feature is enabled, each gadget will have an entry in its menu.

 

After clicking on this entry, a window will appear where you can assign a title to the gadget and check if you want to take the relationships (Datalinks and URL params) that it has defined.

These favorite gadgets can be represented as drag-and-drop components, and dragged on top of your dashboards, in order to add them to them.

Their management is fully qualified as REST services in the API of the control panel, by selecting this entry:

 

These are the available services:

 

To improve usability, a service has also been created in the Dashboards API, that returns a list of gadgets containing one or more dashboards. This is very useful when integrating dashboards in the different solutions.

To access it, select this entry:

To use it, in the body, enter an array with the name or id of the dashboards of which you want to know their gadgets. For example:

This returns:

An array with the different dashboards, gadgets, name of the gadget, type of gadget and page of the dashboard in which it is located.

 

The bookmark services are also fully integrated with the dashboard wrapper:

https://github.com/onesaitplatform/onesait-cloud-platform-dashboard-wrapper

To use them you can see how to do it in this link, using the favoriteService API.

How to include Dashboards in your Vue App? (Vue Wrapper Integration)

 

Â