Conditional Bulk publishing of Assets
Hi,
Thanks,
Hi,
Hi @mrudulm90837917 , as @diksha_mishra pointed out tree activation looks for folder level publishing and what you may do is
1. Get a list of assets to be activated either from ACS aem commons report or OOTB assets report on cloud as CSV
2. Create a user on author and assign it to admin group, make sure it has write or replicate permission on the root path of your folder heirarchy.
3. Use this curl command as a reference, import it in Postman and this can be run as a collection on extracted csv
curl --location --request POST '<authorurl>/bin/replicate.json' \
--header 'Authorization: Basic xxxx' \
--form 'cmd="Activate"' \
--form 'path="{{Path1}}"' \
--form 'path="{{Path2}}"' \
--form 'path="{{Path3}}"'
It uses the OOTB /bin/replicate servlet where you can provide paths as input. You may consider creating a batch of 20 per request. Update the Basic Auth key as per the user created
If you have time constraints and want to replicate a large data set. Create a multithreaded Java programme and execute GET call in parallel threads from your local Java application.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.