?
Solved

Question about available columns in SharePoint view creation

Posted on 2011-09-13
4
Medium Priority
?
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

762 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