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.

Validate naming conventions with Asset Link?

Avatar

Level 1

Looking for a solution to ensure naming conventions aren't broken with uploads through Asset Link or the desktop app, has anyone been able to solve for this validation outside the touch UI? 

1 Reply

Avatar

Employee

The simplest solution would be to have a Workflow/Launcher that is triggered whenever a new asset is created that validates the asset's filename.

 

If there is a violation, the WF is assigned to someone to review/mitigate.

 

I'm not aware of any hooks or good ways to do this in Asset Link experience itself. Its possible you could create a Sling Filter that could intercept and write filenames, but I'm not sure if this would break in Asset Link since it expects the filename to be something else.