Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

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

Avatar

Level 4

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.

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

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