Solved

Question about available columns in SharePoint view creation

Posted on 2011-09-13
4
217 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
ID: 36530620
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
ID: 36530869
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
ID: 36530937
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
ID: 36531318
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

910 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