I have a staging server and a production server, both with the same set of elements and drivers. My goal is to create dashboards on the staging server first and then migrate them to the production environment.
However, when creating queries, I need to select the server ID and element ID, which makes the queries environment-specific.
Is there an easy way to replace these IDs with the corresponding ones from the production environment once the dashboard is migrated?
Hi Anna,
As far as I know there is no easy way to modify the IDs. In other integrations we created scripts that will go through the dashboards (JSON files) and update the ID where required. However, I would not recommend this approach since it is prone to errors.
In the meantime, I would suggest to review the GQI queries that you are using in your dashboard. If the native data sources don't allow you to pass an element name as reference, then you could create an adhoc data source as alternative.
Hope it helps.