Reputation: 91
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?
Upvotes: 1
Views: 574
Reputation: 91
I had to intercept the EventReciever during synchronous call (ItemAdding and ItemUpdating method) and cancel the event.
Upvotes: 0
Reputation: 2792
You would need to create an event receiver or a workflow to do this.
Have a look at the first sample in this post.
Upvotes: 1