Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 661017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:13:18+00:00 2026-05-13T23:13:18+00:00

We have hundreds of document libraries, spread all throughout various site collections in a

  • 0

We have hundreds of document libraries, spread all throughout various site collections in a MOSS 2007 SharePoint site.

The problem is, that I want to add Content Type to show up in addition to the “New Document” and “New Folder” content types: the “Link to a Document” content type (0x01010A). This new content type should should up for all existing and new document libraries.


What I’ve tried:

I thought that I would be able to add the following to a schema.xml somewhere inside the <ContentTypes></ContentTypes> node:

<!-- Link to Document Content Type -->
<ContentTypeRef ID="0x01010A" />

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\Publishing\Pages\schema.xml

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\DocumentLibrary\DocLib\schema.xml

This seems to have added the content type to the libraries OK, but it doesn’t show up under the New menu (still just displays the “Document” and “Folder” content types). If I set “Allow management of content types?” to “Yes” then it shows up.

tl;dr

Q: How do I add the “Link to a Document” content type to all document libraries and have it show up in the New menu?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:13:19+00:00Added an answer on May 13, 2026 at 11:13 pm

    After doing some more investigation, I found out that by changing ..\12\TEMPLATE\FEATURES\DocumentLibrary\DocLib\schema.xml I could add the Link to a Document content type to all NEW document libraries. Changing the schema.xml and then doing an IISRESET did not change existing libraries.

    In order to do this, the beginning of my schema.xml looked something like this:

    <?xml version="1.0" encoding="utf-8"?>
    <List xmlns:ows="Microsoft SharePoint" Title="$Resources:shareddocuments_Title;" Direction="$Resources:Direction;" Url="Shared Documents" BaseType="1" EnableContentTypes="TRUE">
      <!-- Link to Document Content Type - Added EnableContentTypes="TRUE" -->
      <MetaData>
        <ContentTypes>
          <ContentTypeRef ID="0x0101">
            <Folder TargetName="Forms/Document" />
          </ContentTypeRef>
          <ContentTypeRef ID="0x0120" />
          <!-- Link to Document Content Type -->
          <ContentTypeRef ID="0x01010A" />
        </ContentTypes>
    

    Since this didn’t change existing document libraries, I will need to write a console application that uses the code specified in the other two answers to update each library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have hundreds of [mostly different] files in many different directories that all have
I have a PDF document that has several hundred fields. All of the field
I have a folder in my site that contains hundreds of subfolders. Each subfolder
I have several CouchDB databases, all in the hundreds of GB, that I need
I have an application that can potentially have hundreds of memory mapped, i.e., mmap()
I have a function that's called hundreds of thousands of times per update, and
i have a large XML document that is to large to be loaded using
I have hundreds of .doc files with text that I need put on web
I have hundreds of jar files scattered across different projects that I need to
I have a web form that is built dynamically with dozens/hundreds of form element

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.