How can I change the target of widget's device datapoint via restapi

Hello
We are making a custom application.

We want to implement a feature that allows information about a particular device to be displayed in other widgets when you select it on the screen.

Let’s take an example of the picture below.

  1. Select a specific device
  2. The device information appears in the widget

Can you tell me what rest api, or javascript sample, should I use to implement this?

Will it not be implemented with the Built-in widget?

As for as I know, there is no built-in widget to achieve your requirement. However you can write your own custom widget using Angular Web SDK of Cumulocity.

Sample example can be found https://cumulocity.com/guides/web/how-to/#add-a-custom-widget

1 Like