SharePoint Online specific.
I wanted to know if it is possible to enforce file naming conventions at the folder or sub-folder level in a Document Library.
For example, I have a Document library called "Documents" with many sub-folders. I want to enforce a specific file naming convention for all Word (docx) files uploaded to a "Legal" folder, e.g. "Document_Name_Department_MMYYYY".
Then similarly a different file naming convention in the folder "IT", etc.
I have found a site that explains how to do it using the CSOM (https://www.tatvasoft.com.au/blog/how-to-implement-remote-event-receiver-in-sharepoint-online/).
Is anyone aware if this is possible using JS, no-code, Azure or Flow? basically an alternative way rather then the CSOM example listed above.