Microsoft Developer Network >
Página principal de foros
>
SharePoint - Setup, Upgrade, Administration and Operation
>
Content Type Columsn not being added to a library
Content Type Columsn not being added to a library
- I have a Site Content type, let call its SCT , whose parent is Document, and the site content type contains several columns (most are hidden as they should only be set in workflows). I have two document libraries A & B using this site content type and they both automatically inherited all of the site content types columns.Now I want to create anothe library, C, that uses this SCT. Steps as follows 1) Create Library 2) Allow management of Content Types 3) Add the content type via 'Add from existing site content type'. The colums from SCT do not appear in my library's list of columns.If I look at the settings of A or B and click on the SCT site content type I see the definition of SCT List Content Type with all its defined colums inherited from the SCT site content type. If I look as the settings of Document Library C I see the definition of SCT List Content type with NONE of the defined colums inherited from SCT Site Content type.If I add a new column to SCT then this appears in all libraries A B and C. Only the previously created columsn are not being picked up.Does anyone know how I can get libraries to pick the the columns from the site content type? If I create a new site content type and repeat steps It works fine.Note - Using SharePoint Services 3.0Thanks in advance.
- CambiadoMike Walsh MVPMVP, Moderadorviernes, 03 de julio de 2009 15:32admin q (From:SharePoint - Design and Customization)
Todas las respuestas
- Not customization.
Moving to Admin.
WSS FAQ sites: http://wssv2faq.mindsharp.com and http://wssv3faq.mindsharp.com
Total list of WSS 3.0 / MOSS 2007 Books (including foreign language) http://wssv3faq.mindsharp.com/Lists/v3%20WSS%20FAQ/V%20Books.aspx - That doesn't sound right. I can't think of any reason that the columns would not inherit in library C. Did you delete that library and try again?
SharePoint Architect || My Blog- EditadoClayton Cobb viernes, 03 de julio de 2009 15:48
- Yes I have deleted and tried again - no joy. Thanks though.
- Is there anything special about that library? What kind is it? How can it happen "again" if it didn't happen to the first two libraries. What is different about this library than the other 2, and what is THE SAME between the two that you recreated unsuccessfully? What happens if you make another library like A or B? Is this all on the same site?
SharePoint Architect || My Blog - Hi Thanks for reply.There is nothing special about the new ones that dont work - I simply create a new Document library and enable 'Allow management of Content Type' and then add the content type via 'Add from existing site content type'. There is also nothing special about the ones where it does work.If I create a template from A or B, and then create another library from the template, then I get all the SCT columns, so I can get the desired result. I guess I can live with that, BUT I would like to get to the bottom of the problem.
- Update - The template method resulted in additional headaches since the template also includes the worflows associated witht the document library from which the template was created. So I now have a document library that includes the desired colums from the content type, but workflows that I dont want.

