Solved

Question about available columns in SharePoint view creation

Posted on 2011-09-13
4
216 Views
Last Modified: 2012-05-12
Using the "Shared Documents" document library installed with SharePoint 2010 Foundation as the basis for my question, where do the available columns come from in the "Columns" section of the create view process?

When I look at the document library settings for "Shared Documents", the default columns shown as "currently available" are Title, Created By, Modified By, and Checked Out To.  However, if you begin the process of creating a new view, there are a number of other columns available to display on the new view, like (if choosing to based new view on Standard view) Check In Comment, Content Type, Copy Source, etc.

Where are these columns configured/associated with the standard view, i.e. how does SharePoint know to provide these particular ones to me as choices in creating a standard view of a document library?

Thanks in advance.
0
Comment
Question by:AgeOfEmpires
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:abhitrig
Comment Utility
Good question!

SharePoint lists are designed to show/store items of various content types. By default, all lists have the "Item" content type preselected.

Under list setting->Advanced settings, set "Allow management of content types?". You will then be able to see the Item (Document incase of a doc library) appear under the content types for the list. Click on the content type and you will see all the fields defined there. Typically, all other content types derive from this base "Item" type and have the base fields predefined (the ones that you see under the view). So its there, SP just hides the fact from you to hide the complex details! As an analogy, think of it as the System.Object type that we have in .NET, that all other classes derive from internally.

I hope i explained it well...
 
 
0
 
LVL 4

Author Comment

by:AgeOfEmpires
Comment Utility
Thanks for the help.  I did enable the management of content types on the Shared Document library, and as you mentioned, the Document content type shows up now on the Library Settings page.  However, if I click on that content type, all that I see for Columns are "Title".  It also shows Item as the parent and "Title" is the only column for it also.

I am signed in as site admin.

Any other ideas as to why I am not seeing the other columns?
0
 
LVL 14

Accepted Solution

by:
abhitrig earned 500 total points
Comment Utility
Well many of the other columns are of type hidden. Any particular column you are interested in? You can see all of the fields using code/powershell. Simply loop through all the fields for the SPListItem in your list.
0
 
LVL 4

Author Comment

by:AgeOfEmpires
Comment Utility
Thanks again.  I've not yet found the PowerShell solution to show me this, but in preliminary investigations, I certainly believe this will give me what I want.  I'm just curious as to how all of this stuff fits together and I couldn't figure out why a list had a few columns, but there were several more available when creating a new view.

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now