Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

How to block publication of asset if some metadata are missing

Avatar

Level 1

Hi,

 

We are facing an issue. We are using the Title of assets as ALT text for pictures. The issues, According to Adobe there is no clean way to block the publication of an asset if some of the metadata aren't set. This makes the sloppy authors to forget to add these data and get a SEO hit.

 

Only solution so far proposed by Adobe is somehow to hide the standard publication process and buttons and have a custom workflow. From a end-user/author perspective it feels really painfull, and from a setup perspective it sounds simply overkill.

 

Is there a proper way to achieve that?

David

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

Can you overlay request for activation workflow with last step where the activation process is selected, replace it with a custom process that checks for mandatory metadata before activation? Haven't tried but may be worth checking.

Screenshot 2022-10-10 at 1.18.03 PM.png

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Can you overlay request for activation workflow with last step where the activation process is selected, replace it with a custom process that checks for mandatory metadata before activation? Haven't tried but may be worth checking.

Screenshot 2022-10-10 at 1.18.03 PM.png