MOSS Site Collection Documents - Restricting special characters in a filename
-
27-09-2019 - |
Question
I am trying to block users from entering square brackets ([]) or other charcters to a filename while uploading a document.
Is there a way to block this in SharePoint Central Administration or is there settings that I can change?
Solution 2
I had to intercept the EventReciever during synchronous call (ItemAdding and ItemUpdating method) and cancel the event.
OTHER TIPS
You would need to create an event receiver or a workflow to do this.
Have a look at the first sample in this post.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow