Env - AEM as a Cloud Service
There are a few inconsistencies with the new content fragment editor with the way it handles the name field. The name field is editable in the new editor but not in the existing assets editor. This is causing content authors to add all kinds of gibberish to the name field.
Because of the way our model APIs and search functions have been setup, I would like to enforce a lowercase rule for content fragments created using the new editor.
Does anyone know the file to override in libs to achieve this ?
If there is any other better way to achieve this let me know. I've tried SlingPostProcessor, ResourceChangeListener, etc. All of these act on property updates / addition etc but not when new resource is added.