Maintain versions on asset copy

Avatar

Avatar
Validate 1
Level 3
Ashwin_Raju
Level 3

Likes

7 likes

Total Posts

44 posts

Correct reply

4 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile

Avatar
Validate 1
Level 3
Ashwin_Raju
Level 3

Likes

7 likes

Total Posts

44 posts

Correct reply

4 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile
Ashwin_Raju
Level 3

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

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
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.)

Avatar

Avatar
Validate 1
Level 3
Ashwin_Raju
Level 3

Likes

7 likes

Total Posts

44 posts

Correct reply

4 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile

Avatar
Validate 1
Level 3
Ashwin_Raju
Level 3

Likes

7 likes

Total Posts

44 posts

Correct reply

4 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 3
View profile
Ashwin_Raju
Level 3

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