Hi, this question applies to pages in an app/panels and dashboards.
From the dashboards/apps I've had to build, I often come across multiple pages of the same layout but different data being presented. I would start off by creating one page and then duplicating it and then begin the process of populating the different data into each component. This results in every page having the same layout.
When I need to adjust the layout of one page and then propagate that layout across the remaining pages, I find it difficult to make the layout on all the pages consistent again.
Is there a way of adjusting the sizing and location of a component using numerical values (e.g.: length, breadth, ratio) rather than adjusting them visually?
Hi Bing,
There is no automatic way of updating multiple component positions at once or by doing this using numeric values. You could do this manually via the underlying JSON-files:
- Update the component on 1 page using the app editor.
- Open the JSON file for the updated page.
- Can be found in C:\Skyline DataMiner\Applications\APP_GUID\VERSION\pages\PAGE_GUID
- The PAGE_GUID can be found by looking at the name parameter of the GetDashboardAndInfo request using the devtools.
- Copy the 'Position' property of the component that was changed.
- Update the property of the same component on all other pages that need to be updated.
Thanks Wout!