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
Recently we have developed a new datatype, named 'variables', that can be used for exactly this use case. Variables can be used to create a single (constant) value that can be used all over the dashboard. Changing this value would then change it everywhere that it is used. In your use case you could then create 2 variables (server ID & element ID) that can be used in all queries. This feature will be available from DataMiner 10.3.0 [CU21], 10.4.0 [CU9] & 10.4.12 onwards.
In older versions, there is no easy way to do this. An options could be to look at the saved file (C:\Skyline DataMiner\dashboards\FOLDER NAME\DB NAME.dmadb.json) for the dashboard and use a find & replace there for these values. Note that this can very easily break configurations.
Thank you! This option seems to be very helpful.