1

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?

DK.
  • 91
  • 1
  • 3
  • 14

2 Answers2

1

You would need to create an event receiver or a workflow to do this.

Have a look at the first sample in this post.

Jeroen Ritmeijer
  • 2,772
  • 3
  • 24
  • 31
  • unfortunately, this is the only way to do it. I had to intercept during the synchronous call (ItemAdding and ItemUpdating method) and cancel the event – DK. Aug 12 '10 at 18:07
0

I had to intercept the EventReciever during synchronous call (ItemAdding and ItemUpdating method) and cancel the event.

DK.
  • 91
  • 1
  • 3
  • 14