Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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