Using a Trigger to Clone Assets in the Same Location


(M L Sanders) #1

USING: v5.3.3.0

 

 

Hi All

We've got 200+ assets, each with a child asset.

 

Each year I need to clone and rename each child asset, which needs to remain under the same parent. So I want to use Trigger Batching.

 

The Create Clone and Link to Asset trigger forces you to choose a Link location; I can't do this, as each asset to be cloned has a different parent.

If I choose the Link to Broadcasting Asset option, then the asset is successfully cloned but is linked as a child of itself!!!

 

It seems so obvious to default to 'Clone and link under the same asset as the broadcasting asset' that I'm surprised that this doesn't seem to be an option, and I can't think of a workround to achieve it.

 

Has anyone got any thoughts on this, please?

 

many thanks

 

mark


(Anthony Ponomarenko) #2

Hey Mark,

 

You're probably best to export the assets as xml and then import them into the new location.

 

Take a look in the Tools section of matrix for these options.


(M L Sanders) #3

Hi Anthony
Each of the new assets needs to go in the same location as its original. Could I achieve this with a single XML import?


Thx

Mark


(Anthony Ponomarenko) #4

Hey Mark,

 

What version of Matrix are you running, there have been many bug fixes to the export/import process in the last couple of years.

 

On import though as the imported assets will have the same webpaths this will cause Matrix to strip them on asset create. 

 

If you can read XML you could actually change the Name and Paths within the exported xml itself, which would save some time.