Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 2356

How to export an item with all its parent folder-hierarchy?

$
0
0
I need a solution

Hello, community,

I have just got an interesting question from a large customer.

Ever time they create an item in CMS7.5 (like a software policy) they want to export this into a standalone xml-file for backup purposes and to be able to import this item also in their test- end QA-environments.

The challenge here is to make sure that the folder-hierarchy to the exported item should also be exported to make sure that the folders have the same structure and same GUIDs on all environments.

Unluckily the APIs to export a folder will also export the full conent of the folder which is absolutely not what they want.

And if they want to create their own folder-item XMLs based on the folder-attributes there is no "productGuid" attribute for the folder-items but this is needed to import a folder-XML.

Does someone have a clever idea how to get this problem solved???

I made a couple of tests and it turns out that you can import a self-created folder-XML that just includes the name, guid, class and the 000-GUID as a fake-productGuid, but I am not sure if this will be supported? AFAIK if an item-import works fine without errors it will have support.

Greetings,

Carsten

 


Viewing all articles
Browse latest Browse all 2356

Trending Articles