There is some difference on the older 1.x version of project.xml
and application.xml with the new OpenI 2.0 beta version fo these files.
So, directly pointing PROJECTS_DIR to older version of openi-projects
doesn’t work. Here are the things you need to change to make your
older analysis run on OpenI 2.0 First setup OpenI 2.0 on your machine, please follow installation instructions at http://wiki.openi.org/installation to set up OpenI on your machine. Once you successfully set up OpenI 2.0 on your machine, you will see ‘openi-projects’ folder in your home directory (or other location depending on your system, installation document contains more information on this). At this point, you need to create an “empty” project under OpenI 2.0, which will create a “project shell” under the “openi-projects” folder, and then you need to copy the necessary files from your OpenI 1.x project. To do so, please follow the steps below:
Migrating your Dashboards,The way dashboard files are managed in OpenI 2.0 is completely different from the previous 1.x releases. So, we recommend you to create new dashboards from OpenI web interface, since creating new dashboards is easy. However, you can migrate old dashboards to new one, but it might require significant amount of manual work. In OpenI 1.X, dashboards are located on the project.xml itself, so if you open project.xml you can see something like this<entry> <string>New Dashboard</string> <org.openi.project.Overview> <links class="linked-list"> <string>public/Samples/MSAS_old/HR_Employees.analysis</string> <string>public/Samples/MSAS_old/HR_Org_Salary.analysis</string> <string>public/Samples/MSAS_old/Most_Profitable_Promotions.analysis</string> <string>public/Samples/MSAS_old/Org_Salary_by_Store_Type.analysis</string> </links> <columns>2</columns> <thumbnailWidth>320</thumbnailWidth> <thumbnailHeight>240</thumbnailHeight> </org.openi.project.Overview> </entry> This is definition for one dashboard, that will be displayed by name’ New Dashboard’ but in OpenI 2.0 , each dashboard is saved as a separate file. In OpenI 2.0, there are three types of dashboards:
Dashboards are saved as XML files. So, while manually creating new dashboard, you can copy and paste existing dashboard and make appropriate changes or you can created new XML file and enter details. While naming the dashboard XML file we follow the convention that it should end with ‘-dashboard.xml’. Suppose you want to name your dashboard as ‘MYDASHBOARD’ then you should name it as ‘MYDASHBOARD-dashboard.xml’ Below is the example of dashboard that contains only one item, <org.openi.dashboard.Dashboard> <dashboardItems> <org.openi.dashboard.DashboardItem> <link>/foodmart/public/Samples/MSAS/HR_Employees.analysis</link> <title>HR Employees</title> <source></source> <sourcePath>/foodmart/public/Samples/MSAS/HR_Employees.analysis</sourcePath> <sourceType>image</sourceType> <lastModified>0</lastModified> </org.openi.dashboard.DashboardItem </dashboardItems> <defaultItemWidth>320</defaultItemWidth> <defaultItemHeight>240</defaultItemHeight> <colunnCount>3</colunnCount> <dashboardTitle></dashboardTitle> </org.openi.dashboard.Dashboard>
You can copy source path from old Dashboard to this new one, now to add multiple items on this dashboard just repeat the following part with appropriate values <org.openi.dashboard.DashboardItem> If you want to edit (add/remove dashboard items) these files later you can do it from OpenI web interface as well. |



