Consider the following scenario:
- On a server that is running Microsoft SharePoint Foundation 2010, you browse to a document library.
- You add a new content type to the content types that are allowed for that document library.
- Then, on the Document tab, under Library Tools, you click New Document, and then in the menu, you click the new content type that you added.
This issue occurs when the new upload form for the new document library content type does not begin with "upload." When this occurs, SharePoint 2010 opens the form in a new page when you try to upload a new document for that content type.
To resolve this issue, you must rename the form so that it begins with the word "upload." To do this, follow these steps:
- On the SharePoint server, open the document library to which you added the new content type.
- Under Library Tools, click Library, and then in the Settings group, click Library Settings.
- If Content Types is not visible, follow these steps:
- Under General Settings, click Advanced settings.
- Under Allow management of content types, click Yes.
- Click OK.
- Under Content Types, click the new content type.
- Under Settings, click Advanced settings.
- Under Enter the URL of an existing document template, locate the content type file name.
For example, consider the case in which the URL is as follows:/sites/Parent_folder/Library_name/Forms/Content_template.xmlIn this case, Content_template.xml is the file name.
- Add Upload_ to the beginning of the file name.
For example, the file name that is described in step 6 is changed as follows:Upload_Content_template.xmlThe URL should now be as follows:/sites/Parent_folder/Library_name/Forms/Upload_Content_template.xml
- Click OK.
- On the server that is running SharePoint Foundation 2010, open the following folder:%SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\template\layouts
- Select the new content type file. On the Edit menu, click Copy, and then click Paste. This creates a copy of the file.
- Rename the copy of the content type file to match the name change that you made in step 7.
For example, locate the file that is named Content_template - Copy.xml, and rename it to Upload_Content_template.xml.