Rank: Newbie
Groups: Registered
Joined: 2/27/2020(UTC) Posts: 5 Location: Venice Thanks: 1 times
|
Hi. I've tryed to create a sdax file with partial success You have to explain me how the GUID are generated and how can we generate a valide one. I mean the first GUID reffer to what? Because if I change a value it stop to work. It must be related to something... The same for the other two GUID. I've tryed to copy and past with different valid WidgetGUID but only one works. Please
<?xml version="1.0" encoding="utf-8"?> <Dashboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <GUID>ac1b36b8-d8d7-42ac-a11f-a855741da875</GUID> <Name>Product Sales</Name> <Items> <DashboardItem> <GUID>3942952d-6b1c-4cdb-8bc6-a3f04afaef54</GUID> <WidgetGUID>92746b0e-b240-4d9d-9d92-467397594e90</WidgetGUID>
<GUID>3942952d-6b1c-4cdb-8bc6-a3f04afaef54</GUID> <WidgetGUID>e86cd5d5-92f8-46f3-ac16-1e78b0e27202</WidgetGUID> </DashboardItem>
</Items> </Dashboard>
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
A dashboard has dashboard items referring dashboard widgets.
First change the GUID of your dashboard to create a new one, then just copy/paste the'Dashboard XML' property you have generated for each widget and add a GUID for each item:
<?xml version="1.0" encoding="utf-8"?> <Dashboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <GUID>dashboard1guid</GUID> <Name>A new Dashboard</Name> <Items> <DashboardItem><GUID>item1guid</GUID><WidgetGUID>92746b0e-b240-4d9d-9d92-467397594e90</WidgetGUID></DashboardItem> <DashboardItem><GUID>item2guid</GUID><WidgetGUID>e86cd5d5-92f8-46f3-ac16-1e78b0e27202</WidgetGUID></DashboardItem> </Items> </Dashboard>
The next release will enhance this by automatically generating item GUIDs when not set. you can put what you want as GUID, it is just a string.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/27/2020(UTC) Posts: 5 Location: Venice Thanks: 1 times
|
Hi. First of all thanks for your reply. For sure I've explained bad. I know what is a GUID and I've used an online GUID generator to test. BUT if I replace the GUID in <GUID>dashboard1guid</GUID> the dashboard doesen't load... And this is really strange for me..
I don't think I will create tons of dashboard files but I would like to be free to create new one if necessary
thanks for your time
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
if you change the dashboard GUID, you should first logout/login to re-init the list of dashboards, then you have to add it again to your dashboard view: click on the [Manage Dashboard] top roght button, then add it again.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/27/2020(UTC) Posts: 5 Location: Venice Thanks: 1 times
|
I will try shortly But the guide is the draft of the draft... No explanation.. nothing.. you've to try
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
I just made the try, it works fine as expected....
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/18/2020(UTC) Posts: 3
|
How can i create new Dashboard and widget into it?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
|
1 user thanked epf for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/27/2020(UTC) Posts: 5 Location: Venice Thanks: 1 times
|
Originally Posted by: epf VERY VERY nice. Thanks a lot
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.