Hello. Does anyone know of a way to quickly clone a Design asset and its Customisations?
It's a pretty time-consuming process to create a Design from scratch and manually add all the Customisations and Design Areas back in again, especially when a lot of the values remain the same as the Design you're "cloning".
I think I tried once and failed. I've also tried exporting from one system and importing into another (via the XML export) and that wasnt a big success either. I seem to recall in one instace I got it to look OK through the asset tree but in practice it dodntwork until I went into each screen manually and re-committed it.
Certainly interested to hear if anyone has it working (or add my +1 to a feature request) as its something I need to do occasionally...
It turns out that you can use the JS API to clone Design Customisations (with all the specifics remaining in tact).
The steps to take:
Create the new Design asset in the asset map
Paste in the Parse File code from the Design you want to clone
Use the cloneAsset() method of the JS API to clone the Design Customisation to the new Design
The only issue is that all areas of the parse file are activated so you'll need to check 'Remove Customisation' for those that shouldn't be customised.
What version of Matrix are you in? In recent versions we've fixed up a few bugs with the export/import when it comes to designs, so might be worth doing an upgrade and testing it again.