Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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