devaskim
devaskim
In case of single dashboard per tenant you may just hardcode dashboard's id in rule chain configuration. Otherwise you can call [Thingsboard REST API](https://demo.thingsboard.io/swagger-ui/#/dashboard-controller) from rulechain to resolve dashboard's id....
Rule Engine provides [REST API node](https://thingsboard.io/docs/user-guide/rule-engine-2-0/external-nodes/)
I think there is no such capability, only manual insertion
It is not clear for me whether you are developing custom rule node (1) or using those Thinsboard are providing out of the box (2). (1) If your goal is...
Ok. As I mentioned before you could access to service's objects through TbContext which is already in _createNewAlarm_
What did you mean by different dashboards? Dashboard with different set of widgets or the same dashboard but that shows data regarding marker that a user has clicked?
It is by design thus by clicking on marker you could trigger, for example, _custom action_. In its handler you could get from somewhere dashboard's id and then open that...
It depends on your implementation. Custom action provides access to widget context so you could dynamically resolve dashboard or its state
Hi @YuriyLytvynchuk It would be better to have configuration parameter to specify JSON path to the field where array is. For example, Thingsboard API returns both array in object and...
Use _console.log()_ to debug and look at output in browser DevTools in Console tab: ``` console.log('Data: ', dsData[dsIndex]) ```