Clone site asset

Hi there


Is it possible to clone a site asset and all its children?

No, cloning is specifically designed not to do that. It will only clone dependent assets.


What are you trying to do?

[quote]No, cloning is specifically designed not to do that. It will only clone dependent assets.


What are you trying to do?[/quote]



I want to duplicate a site tree to play around with.


If you're not in production, you could look at the scripts/import/export_to_xml.php and scripts/import/import_from_xml.php scripts. You'd have to export the existing site to XML and then re-import it. The Root is Asset ID #1, btw. :)

Note that we do not recommend running the import script on a production installation of MySource Matrix unless you are absolutely certain the source XML is complete.

Sorry to bump such an old topic.

 

I'm a new starter at in a tech-writer role, and my role includes maintaining "online manual" content in Squiz.

 

The structure of the site here at includes multiple branches in the tree that contain identical children with only nested content (so the content is maintained in one place but it's in multiple assets). 

 

These branches represent business streams, and if we discover the content maintained in the nested asset is required in an additional business stream, the current approach is to clone each of the assets from another stream (so effectively create another set of containers, pointing at just one set of nested assets).

 

If I could clone an asset and its children, this would be 5 minutes work.

If it has 35 children, it's more like 90 minutes.

 

Any suggestions?

 

If I could clone an asset and its children, this would be 5 minutes work.

If it has 35 children, it's more like 90 minutes.

 

Any suggestions?

 

How are you cloning the children. Are you selecting multiple assets and choosing to clone all the ones you selected? This would be the quickest.