Copy dashboard from one group to another in a MS

Product/components used and version/fix level:

1018

Detailed explanation of the problem:

Hey guys

I want to create hundreds of new groups → add devices into the groups. Moreover, I have a table which tells me which dashboard i need to copy for the newly created group. I have the managed object id of the existing dashboard.

How can I replicate the copy dashboard functionality in my MS?

I tried copying the c8y_Dashboard fragment from the existing dashboard but then this contains the group id and the device id (from the original dashboard), which I can replace. This seems to be a cumbersome approach. Is there a better way to do this?



Arsalan Mahmood Siddiqi

Seems to be they way to do it. You can check the sources here

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.