The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
NicolasArgente
2 years agoValued Contributor
XFProj on OS 7.4..2
Hi there, I am trying to extract a component using XFProj. I worked with that in the past.... it seems there is a bug on 7.4.2 as the below code works in v5 but not in v7.4.
<xfProject to...
- 2 years ago
Hi NicolasArgente ,
Here's a working 7.4.2 xfproj:<xfProject topfolderPath="" defaultZipFileName="ABC123_PV7.4.2_SV100_PackageContents.zip"> <projectItems> <!-- Dashboard items --> <projectItem projectItemType="DashboardWorkspace" folderPath="" workspace="XFW_321_Myco_Manager_ABC123" name="XFW_321_Myco_Manager_ABC123" includeDescendants="false"/> <projectItem projectItemType="DashboardMaintenanceUnit" workspace="XFW_321_Myco_Manager_ABC123" folderPath="" name="321 Myco Manager (ABC123)" includeDescendants="true" /> <projectItem projectItemType="DashboardProfile" folderPath="" name="Myco Manager (ABC123)" includeDescendants="true"/> <!-- Cubes --> <projectItem projectItemType="Cube" folderPath="" name="MycoManager_ABC123" includeDependants="true" /> <!-- Business Rules --> <projectItem projectItemType="BusinessRule" folderPath="" name="ABC123_HelperQueries" includeDependants="true" /> <projectItem projectItemType="BusinessRule" folderPath="" name="ABC123_SolutionHelper" includeDependants="true" /> <!-- Dimensions --> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_Entity" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_Scenario" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_Account" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_Flow" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD1" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD2" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD3" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD4" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD5" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD6" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD7" includeDescendants="true" /> <projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD8" includeDescendants="true" /> </projectItems> </xfProject>
RobbSalzmann
2 years agoValued Contributor II
Hi NicolasArgente ,
Here's a working 7.4.2 xfproj:
<xfProject topfolderPath="" defaultZipFileName="ABC123_PV7.4.2_SV100_PackageContents.zip">
<projectItems>
<!-- Dashboard items -->
<projectItem projectItemType="DashboardWorkspace" folderPath="" workspace="XFW_321_Myco_Manager_ABC123" name="XFW_321_Myco_Manager_ABC123" includeDescendants="false"/>
<projectItem projectItemType="DashboardMaintenanceUnit" workspace="XFW_321_Myco_Manager_ABC123" folderPath="" name="321 Myco Manager (ABC123)" includeDescendants="true" />
<projectItem projectItemType="DashboardProfile" folderPath="" name="Myco Manager (ABC123)" includeDescendants="true"/>
<!-- Cubes -->
<projectItem projectItemType="Cube" folderPath="" name="MycoManager_ABC123" includeDependants="true" />
<!-- Business Rules -->
<projectItem projectItemType="BusinessRule" folderPath="" name="ABC123_HelperQueries" includeDependants="true" />
<projectItem projectItemType="BusinessRule" folderPath="" name="ABC123_SolutionHelper" includeDependants="true" />
<!-- Dimensions -->
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_Entity" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_Scenario" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_Account" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_Flow" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD1" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD2" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD3" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD4" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD5" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD6" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD7" includeDescendants="true" />
<projectItem projectItemType="Dimension" folderPath="" name="321Mush_UD8" includeDescendants="true" />
</projectItems>
</xfProject>
t_kaplanis
3 months agoNew Contributor III
CAUTION: When using an undefined topfolderPath="" like this example, it will wipe any files not related to the ".xfproj" file you had within the same folder as the ".xfproj" file you are uploading into OneStream.
I tried testing the example in this solution, and it caused me to lose all of the files I needed from my local machine's "downloads" folder since that is where I saved this suggestion's ".xfproj" file.
Thus, the perils of testing, however I would suggest anyone using this to specify a specific "topfolderPath".
OneStream has stated they will update the documentation to mention this.
- sameburn3 months ago
OneStream Employee
Hi t_kaplanis
This is expected behaviour with xfproject unless you select the zip option
The purpose of xfproj (without zip) is to extract/ load xml structures to the same folder that you opened the xfproject schema from on your local directory. Which means anything else in that folder is overwritten by default for extracts.
Hope this helps clarify
Sam
Related Content
- 3 years ago
- 9 months ago