I want to do a tree activation of pages under a certain /content path.
But one requirement is that I want to be able to exclude pages that has a certain text in the page name and publish all the remaining pages. For example, if a page's name contains the text 'archive', i don't want to publish those.
Example (node names or page names):
archive1 -> Skip this page
test-archive -> Skip this page
archive -> Skip this page
test -> Publish this page
Do we need to customize the Publish content tree workflow to achieve it? Also, is this achievable in AEM as a Cloud Service?
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @cprogramkarthick
ACS AEM commons has a utility to create packages based on a query
We can create package on author and then replicate the package to publish.
Hi,
You can try building a package using JAVA API where you can exclude pages based on search and then replicate the package.
Hello @cprogramkarthick
ACS AEM commons has a utility to create packages based on a query
We can create package on author and then replicate the package to publish.
Hi @cprogramkarthick You can leverage the write up where the custom logic is created based on the path under which the pages needs to be published.
As the AssetReferenceSearch is also used within the logic explained you would be able to repliacted the referenced assets as well. In addition to that within the servlet you can add the logic to skip the pages based on the regex created.
Reference - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/bulk-publish-aem-community...
Hope this helps!
Thanks
@cprogramkarthick Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Thanks to all of you who provided answers. Each of the answer helped me to learn something new, really appreciate it for taking the time and effort to reply
Views
Likes
Replies
Views
Likes
Replies