pb66
(Paul)
14 March 2018 19:14
6
I just opened an issue to suggest a simple textbox to allow editing or cut’n’pasting of dashboard content, this would make things much easier than these backdoor methods.
If I get time I will try it myself but there are several contributors that are well versed in emoncms and the dashboard module that may pick this up.
opened 07:11PM - 14 Mar 18 UTC
closed 02:32PM - 14 Jun 18 UTC
enhancement
For some time now I have been duplicating dashboards between users on my own emo… ncms server instance by creating a blank dashboard in a new account and copying the dashboard content from another user account by accessing the mySQL tables directly. All I then need to do is change the config of each widget from within emoncms to point at a valid feed (ie one belonging to the new user not the source user).
This option is not available to emoncms.org users as they have no access to the mysql and it is less than ideal to recommend users edit the mysql tables directly in any case.
My thoughts on this are, why do we not have a content text box on the dashboard config page
![image](https://user-images.githubusercontent.com/5606042/37425132-41b0902a-27ba-11e8-8d79-4cc181403113.png)
So that users can edit the html directly or copy'n'paste dashboards in or out to share or duplicate?
It only needs to be a simple, but larger version of the "Description" text box that's linked to the ["Content" field of the dashboard](https://github.com/emoncms/dashboard/blob/master/dashboard_schema.php#L6) table, everything else is already in place.
We can already do this via a backdoor method using "view source" on any webpage, locating the dashboard page content and pasting that into a "paragraph" widget on a new dashboard.
See the [Copying feeds and dashboards over to another online account?](https://community.openenergymonitor.org/t/copying-feeds-and-dashboards-over-to-another-online-account/6827/5?u=pb66) forum thread for more info.