Forum Discussion

NicolasArgente's avatar
NicolasArgente
Valued Contributor
10 months ago

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 topFolderPath="XFProjMenu" defaultZipFileName="Menu.Zip">
	<projectItems>
		<projectItem projectItemType="DashboardComponent" folderPath="" name="cpTest" includeDescendants="true"/>
	</projectItems>
</xfProject>

 

The documentation does not mention anything about the workspaces.

Can you guys test on your side on provide a feedback?

Thanks

 

  • 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's avatar
    RobbSalzmann
    Valued 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>

     

    • NicolasArgente's avatar
      NicolasArgente
      Valued Contributor

      Hi RobbSalzmann and thanks for find this out. I will give it a test and come back to you.

      @Onestream : Guys, can you please update the documentation.

      • MarcusH's avatar
        MarcusH
        Contributor III

        @OneStream : And please add TaskScheduler to the list of exportable objects