Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

How to add content type to a document libary and keep columns

  Asked By: Anila Sisodiya         Date: Mar 22, 2010      Category: Sharepoint      Views: 680
 

I've added 3 content types to a document library which already had columns in that had nothing to do with the content type. I needed these columns to be part of every content type in the library - including the three i have just added.

I know when you add a new column, there is an option to add to existing content types in the library - is there any way to do this the other way round?

Simplified explanation:

Column 1 - part of document library - part of "used in" setting for all content types apart from the three just added
Column 2 - part of document library - part of "used in" setting for all content types apart from the three just added

Content Type 1,2,3 - Do not have Column 1,2 included in the "used in" setting

Any ideas?

Tagged:                    

 

2 Answers Found

 
Answer #1       Answered By: Amanda Lewis          Answered On: Mar 22, 2010       

Yes. Just click on Content Type from the List Settings page, and click the link "Add from existing  site or list columns"

 
Answer #2       Answered By: Bijayani Baijayanti          Answered On: Mar 22, 2010       

Hi,

As we will see in SharePoint 2003, it was not possible to add  a simple piece of server side code in the content  pages. But in SharePoint 2007 adding server side code to the content pages is possible. This can be achieved by modifying the web.config file. In the web.config file you can find <PageParserPaths> tag where we need to add some lines of code.

Hope you find this tip useful. For more information, please visit: www.mindfiresolutions.com/...content-pages-516.php

Thanks,
Bijayani

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].