Creating and using new dashboard widgets

Follow

To create a new dashboard widget, use the method ComponentsProvider.add(), see the linked documentation.

To make a dashboard widget visible, you need an application that also includes dashboard functionality (either the one that contains the plugin, or another app that you create, for example, using the "Own applications" menu item).

To include dashboard functionality, subscribe the application to at least the following plugins: Device list, device detail, dashboard und key performance indicators. 

Cheers,
André

 

Have more questions? Submit a request

Comments

  • Avatar
    Saravana Prakash

    To include dashboard functionality, subscribe the application to at least the following plugins: Device list, device detail, dashboard and key performance indicators.

    I followed the above statement but I can't able to make a dashboard visible.

    Thanks in advance!

  • Avatar
    Jorge Enrique Hernandez Amaya

    Saravana,

    What André is talking about is now in the documentation here: http://cumulocity.com/guides/web/widget-plugin/

    And as an advice: by default I always use (subscribe) all plugins from the Cockpit app when we created a widget or a plugin, after it works, you can then delete the plugins that you do not want yo use.

  • Avatar
    André Eickler

    Yeah, that probably makes more sense than what I wrote.

  • Avatar
    Saravana Prakash

    Thank you, Mr.Jorge Enrique Hernandez Amaya.