Is it possible to move an assets from one folder to another using javacode on publisher instance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @ashwinissrinivas, technically this is possible, you can use one of below APIs:
However please be aware that in general due to AEM architecture (author, publish) it is recommended to do the move operation on Author instance and propagate results of this operation to all Publish instances using replication mechanism.
If at some point you will decide to do it on Publish, be aware you will lose connection between author and publish for given asset, so e.g. you will not be able to unpublish asset.
Initiating move from Publish should use revers replication that will send data to author and then replicate changes to all other Publish servers. This scenario is much more complicated comparing to just do your changes on Author and replicate to all Publish instances.
Hi @ashwinissrinivas, technically this is possible, you can use one of below APIs:
However please be aware that in general due to AEM architecture (author, publish) it is recommended to do the move operation on Author instance and propagate results of this operation to all Publish instances using replication mechanism.
If at some point you will decide to do it on Publish, be aware you will lose connection between author and publish for given asset, so e.g. you will not be able to unpublish asset.
Initiating move from Publish should use revers replication that will send data to author and then replicate changes to all other Publish servers. This scenario is much more complicated comparing to just do your changes on Author and replicate to all Publish instances.
Views
Likes
Replies
Views
Likes
Replies