Highlighted

Maintain versions on asset copy

Avatar

Avatar

Ashwin_Raju

Avatar

Ashwin_Raju

Ashwin_Raju

28-02-2017

Hi,

Came across an use case where we need to copy an asset from one location to another which should also hold all the versioning information from the source. Please let me know if any OOTB Api will work here or any other related pointers.

 

Regards,

Ashwin Raju

Replies

Highlighted

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

28-02-2017

Do you want to copy the asset within AEM? And is it really a copy or rather a move? Because creating a copy of an asset within the same AEM intance is something you normally wouldn't do, because there is not benefit from it.

Jörg

(And yes: creating a deep copy will preserve the links to the version history, so it shouldn't be a problem.)

Highlighted

Avatar

Avatar

Ashwin_Raju

Avatar

Ashwin_Raju

Ashwin_Raju

06-03-2017

Hi Jörg,

The use case is to copy few of the assets to a new location which were to be reused for some other user groups who does not have access to the source folders. Also can you please let me know the API documentation link for deep copy which will preserve the version links.

Marking as open since need more information.

Regards,

Ashwin Raju