Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

In a SharePoint Foundation 2010 document library, you are sent to a new page to upload a document instead of to a dialog box


View products that this article applies to.

Symptoms

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.
In this scenario, instead of an Upload Document dialog box being opened, you are redirected to a form on an Upload Document page on the SharePoint Foundation 2010 site.

↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

To resolve this issue, you must rename the form so that it begins with the word "upload." To do this, follow these steps:
  1. On the SharePoint server, open the document library to which you added the new content type.
  2. Under Library Tools, click Library, and then in the Settings group, click Library Settings.
  3. If Content Types is not visible, follow these steps:
    1. Under General Settings, click Advanced settings.
    2. Under Allow management of content types, click Yes.
    3. Click OK.
  4. Under Content Types, click the new content type.
  5. Under Settings, click Advanced settings.
  6. 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.xml
    In this case, Content_template.xml is the file name.
  7. 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.xml
    The URL should now be as follows:
    /sites/Parent_folder/Library_name/Forms/Upload_Content_template.xml
  8. Click OK.
  9. 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
  10. Select the new content type file. On the Edit menu, click Copy, and then click Paste. This creates a copy of the file.
  11. 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.

↑ Back to the top


Keywords: kbprb, kbsurveynew, kbpubtypekc, kbexpertiseadvanced, kbupload, kb

↑ Back to the top

Article Info
Article ID : 983032
Revision : 1
Created on : 1/7/2017
Published on : 4/6/2011
Exists online : False
Views : 286