Change widgets from Cube to Subject area in DeepSee II

33 views
Skip to first unread message

Antny

unread,
May 3, 2012, 10:36:43 AM5/3/12
to intersystems-de...@googlegroups.com
Hi
 
I have created widgets based on the cube. Later on i realized that it will be easy to apply security over the dashboards and widgets if i create them based on the subject area.
 
 Is there any way to convert cube wigets to subjectArea widgets? or do we need to create the subject area from the cube and recreate the widgets?
 
Thanks in advance.
 
Regards,
Antony

Lexi Hayden

unread,
May 3, 2012, 3:25:27 PM5/3/12
to InterSystems: DeepSee Community
You can use the Folder Manager to export the dashboard definition (and
any pivot tables) to XML files. It's pretty easy to make simple
changes to those files. A pivot table definition includes something
like this:

cubeName="HoleFoods"
Just change that to the name of your subject area.

You can then reimport the XML files. Or, better yet, copy & paste
their contents into a dashboard container class (like the
HoleFoods.DashboardsEtc sample). (Just leave out the xml declaration,
the first line in the XML file.)

It's quite worthwhile to put the dashboards & pivots in these
container classes. When you compile the container class, that
overwrites the definitions of all the items defined in the class.

***
You can also view & copy the pivot table & dashboard definitions in
Studio. They're shown in the Workspace window, in the Other folder.
Reply all
Reply to author
Forward
0 new messages