Skip to main content
Newcomer
May 4, 2022
Solved

Extracting Dashboards

  • May 4, 2022
  • 2 replies
  • 0 views

Hi I am trying to extract a dashboards  from an application and load into another application, would any one be able to share the XML template that is used for Project Extract & Load? or would appreciate any other helpful suggestions and guidance. 

 

thanks - Kumar 

Best answer by ChristianW

With FolderPath, you can give individual locations to the project items.

A project can saves a dashboard in two ways, as Zip or as individual files in a folder structure. In my sample, I called the root directory of these folder structure „prj“ but you can use any other name.

2 replies

OneStream Employee
May 5, 2022

Kumar

You will find a lot of information about the xf project definition here: http://<your%20server>:50001/onestreamweb/Help/Content/Design%20and%20Reference/Foundation%20Guides/Project%20Extract%20and%20Load.htm?Highlight=xfproj

It is really easy to us.

<xfProject topFolderPath="Prj" defaultZipFileName="Matrix.Zip">
<projectItems>
<projectItem projectItemType="BusinessRule" folderPath="" name="MTX_Rule" includeDescendants="true"/>
<projectItem projectItemType="BusinessRule" folderPath="" name="MTX_HelperQueries" includeDescendants="true"/>
<projectItem projectItemType="Dimension" folderPath="" name="Matrix" includeDescendants="true"/>
<projectItem projectItemType="Cube" folderPath="" name="Matrix" includeDescendants="true"/>
<projectItem projectItemType="CubeViewGroup" folderPath="" name="Matrix" includeDescendants="true"/>
<projectItem projectItemType="CubeViewProfile" folderPath="" name="Matrix" includeDescendants="true"/>
<projectItem projectItemType="DashboardMaintenanceUnit" folderPath="" name="Matrix" includeDescendants="true"/>
<projectItem projectItemType="DashboardProfile" folderPath="" name="Matrix" includeDescendants="true"/>
</projectItems>
</xfProject>

Cheers

kumarAuthor
Newcomer
May 5, 2022

Hello Christian;

Thanks very much for the reply and for the reference guide, I just got hung up on 2 aspects 

topFolderPath
folderpath

would it be possible to let me know what is the purpose of these 2 values? in your above example I see that the topFolderPath is set to "Prj" and folderpath is set to "" blank - just was confused about this. 

 

thanks once again!!!

Kumar

 

Contributor
May 19, 2022

topFolderPath = to which subfolder relative to the .xfproj where the extract is done to

folderPath = no clue 😄

Cheers Frank

OneStream Employee
May 20, 2022

With FolderPath, you can give individual locations to the project items.

A project can saves a dashboard in two ways, as Zip or as individual files in a folder structure. In my sample, I called the root directory of these folder structure „prj“ but you can use any other name.