Need to restrict the Publish or QuickPublish in Assets based on condition | Community
Skip to main content
saibul
Level 4
March 12, 2020
Solved

Need to restrict the Publish or QuickPublish in Assets based on condition

  • March 12, 2020
  • 1 reply
  • 1872 views

AEM 6.5.0

 

We have a requirement like assets to be published only when the asset has a particular value in properties.

Let say jcr:content/metadata should have the property approved(Boolean)=true then only the asset should be published otherwise it should show an error popup.

 

Can we customize the existing publish functionality or we have to create a custom workflow? If the solution is custom workflow then still publish menu is allowed to publish.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by losharma

Hi @saibul ,

 

May I suggest to explore setting up review tasks for Asset folders and collections:

https://docs.adobe.com/content/help/en/experience-manager-64/assets/using/bulk-approval.html

 

if a very specific replication requirement is needed, maybe using customization with replication api could be explored:

https://helpx.adobe.com/experience-manager/using/aem64_replication_api.html

1 reply

losharma
Adobe Employee
losharmaAdobe EmployeeAccepted solution
Adobe Employee
March 12, 2020

Hi @saibul ,

 

May I suggest to explore setting up review tasks for Asset folders and collections:

https://docs.adobe.com/content/help/en/experience-manager-64/assets/using/bulk-approval.html

 

if a very specific replication requirement is needed, maybe using customization with replication api could be explored:

https://helpx.adobe.com/experience-manager/using/aem64_replication_api.html