File/folder limit and more on file name length

June 30, 2007

Invalid characters in file name: ” # % & * : < > ? \ / { | } ~ 

Invalid characters in folder name: ~ # % & * { } \ : < > ? / | “

Invalid characters in site name: \ / : * ? ” < > | # { } % & <TAB>” ~ + (also, site name can not start with _ and end with .)

File size limit recommendation:

“The default max single file upload size is 50 MB by default for a web application. Microsoft IT limits their environment at 100 MB, and the maximum that the product itself can handle or support is 2GB which is essentially a SQL limit. By setting the limit to blank will essentially support what SQL will support. It’s true that simply removing this, it doesn’t mean that a user can upload a 2GB file. The server time out settings, browser and network speed play a large part in what is truly supportable. The 50MB is the best experience.” Note: if you increase the file size limit, you also need to re-configure the server time out.

File size is configured in Central Admin->Application Management->Web Application General Settings.

Here is original article about all these data.

As far as the number of files, it’s said in a MS paper that 2000 or less is recommended for a single folder. There is a 5 million document limit per library.


Hide left navigation panel without changing Master Page

June 20, 2007

The left navigation bar makes the page looks very “SharePoint”. And, some valuable space is wasted under it. If you don’t want to customize the Master page (or want to keep the left nav panel in the rest of the site), you can just hide it on the home page. Insert a Content Editor webpart, and edit the source by clicking the “Source Editor…” button, and enter this:

<style>.ms-navframe{ display:none; }</style>

That’s right, this is just to override the default style for that section.

Since this web part is just added to the home page, it doesn’t hide the left nav penal for other pages.

Of course you don’t want to show this web part, choose the chrome type to be “None” then its title will not show after you publish it.


Customized pages appear in tab drop down

June 11, 2007

First of all, in SharePoint MOSS 2007, it is kind of misleading that home tab is at the same level with sub-sites in top navigation bar. It gives people impression that home tab is just a sibling of other sites (tabs), while in site hierarchy it is the parent.

When a customized page is added to any of the sub-sites and when “Show pages” is checked in navigation settings, those customized pages will be displayed in a drop-down menu of that tab. However the customized pages of home tab will not. Instead they will be listed like other tabs in top navigation bar. I guess the logic here is that in hierarchy, these pages are at the same level as the sub-sites (tabs).

I think if you really want to put these pages in home tab’s drop-down menu, you have to customize that top navigation bar control or the master page.


Follow

Get every new post delivered to your Inbox.