Permitted File Names in SharePoint 2010

Many times you might have a need to deploy files of various sorts to subfolders under the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE directory. Well, here are the rules to name them in SharePoint 2010.

For security reasons, SharePoint 2010 will allow you to deploy files in the 14\TEMPLATE directory tree only if their names are composed of ASCII letters, numbers, periods, underscores, or dashes. In addition, file names cannot contain two or more consecutive periods. For example, the following are permitted file names:

AllItems.aspx

Dept_1234.doc

Long.Name.With.Dots.txt


The following are not permitted file names:

Cæsar.wav

File Name With Spaces.avi

Wow...ThisIsBad.rtf

揵.htm

So watch it before you go crazy with your deployment

0 comments:

Post a Comment

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer or anyone else. Should you have any questions or concerns please e-mail me at sharepointprogrammingblogger@gmail.com .

Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.

@ Learning SharePoint.com