EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB39860: An object package created via command line using a XML file does not contain child objects inside the shortcut folder but only the folder object itself is contained with MicroStrategy Object Manager 10.x


Mari Sugimura

Senior Cloud Support Engineer III • MicroStrategy


This article explains a current product limitation with MicroStrategy Object Manager. The object package (mmp file) created via command line does not contain child objects of a folder whose shortcut is included in the object package with MicroStrategy Object Manager 10.x. It also suggests a workaround.

SYMPTOM:
When an object package is created using a command line with a XML file, the child objects inside shortcuts are found left out. 
STEPS TO REPRODUCE:
1. In this example, a Strategy Tutorial project is used where a shortcut for "Business Roles" is created inside Strategy Analytics Modules (Direct)\Strategy Tutorial\Public Objects\Reports\Subject Areas

ka04W000001IvDNQA0_0EM44000000YW65.png

Note: "Business Roles" Folder has multiple subfoldes as shown below:

ka04W000001IvDNQA0_0EM44000000YW6U.png

2. Launch Strategy Object Manager, and login to Strategy Tutorial project. Then, nagivete into Public Folders, then, select Tools > Create Package..

ka04W000001IvDNQA0_0EM44000000YW6Z.png

3. Click "Add" button and select "Import Folder and Children recursively" option in the 2nd window, then, select "Subject Areas" folder as shown below:

ka04W000001IvDNQA0_0EM44000000YW6e.png

4. Make sure to check "Return as a container to create XML."

ka04W000001IvDNQA0_0EM44000000YW6j.png

5. Make sure "Add All Used Dependencies" checked and click "Create XML" button.

ka04W000001IvDNQA0_0EM44000000YW6t.png

6. Once the XML file is generated, launch command line to execute the following command:
projectmerge.exe -f<filename.xml>

ka04W000001IvDNQA0_0EM44000000YW6y.png

Note: For more option for this command, execute "projectmerge.exe -h" to find out.
7. Confirm that an object package is created by this command, then, try importing it to another project using Object Manager. Click "Edit" to see what is included in the package and notice that no objects inside "Business Roles" are included. 

ka04W000001IvDNQA0_0EM44000000YW78.png

8. Proceed with importing and confirm that shortcut to "Business Roles" can be found inside "Subject Areas" folder, and the "Business Roles" folder is created. However, the "Business Roles" folder is empty.

ka04W000001IvDNQA0_0EM44000000YW7D.png

CAUSE:
This is a known issue with object packages created by a XML file. The file can be manually created, but there is no option to ensure that the child objects inside a folder are pointed by a shortcut to be included in the package. 
ACTION:
Currently this issue is still being reviewed for feasibility by our Technology team and it is not scoped for any upcoming scheduled Strategy release.
WORKAROUND:
There are two workarounds:
Workaround 1: Use Object Manager to complete your object migration. When the GUI is used, all of the child objects are included in the object package. Refer to KB18829: How to migrate multiple objects at the same time that exist in different folder paths of the source in MicroStrategy Object Manager 9.x
Workaround 2: Create multiple object packages. Each object package should contain one source folder without relying on shortcut objects. 
Also, refer to:
KB36167: How to create an Object Manager package from the command line in MicroStrategy 9.4.x-10.x?https://www2.microstrategy.com/producthelp/10.10/SystemAdmin/WebHelp/Lang_1033/Content/Copying_objects_between_projects__Object_Manager.htm
KB39860


Comment

0 comments

Details

Knowledge Article

Published:

March 7, 2018

Last Updated:

November 27, 2018