Tuesday, February 28, 2012

SharePoint 2010 : Get rid of %20 in List Names

Often in my projects I hit the 250 character limit in the URL because of a number of %20 which is the  URL encoding for a space.

One way is to convince my practioners that using an "_" or Camel Casing is the way to go. 

The other common trick that I employ is to Create my List, View, Library with no spaces so then my URL has no %20 and then go and rename the List,View, Library etc. Since the URL doesn't change on renaming I got my URL with lesser characters and my name the way the Business wants it .

Bingo!!

No comments: