Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I had assumed I could use myList.DefaultView.ViewFields but this does not seem to include the Title (which is part of my default columns list). It does include, linkTitle, but this is a different value than what I want.

Is there something different that I need to do to get this to work?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

There are 3 available columns for the title: Title, LinkTitle, and LinkTitleNoMenu. If you click on the default view - in List Settings for your list, you will see that the column named Title (linked to item with edit menu) is checked, but the column named Title is not checked.

If you actually want the Title column with no link, you can change which columns are included in your view.

If you do not want to modify your view, but you want the Title column, you will need to get that from your list and not from the view.

share|improve this answer
    
Hmmm, for some reason when I try this with the built in Task list, it displays 1_.000, 2_.000 for the Title column. I found three different flavors of the Title column available but they all display the same thing. Am I doing something wrong here? –  Abe Miessler May 3 '11 at 4:56
    
I don't know why 1_.000, 2_.000 is showing up in the Title column. I've seen values like this in what look like files, but are actually a type of pointer to the correct version. (msdn.microsoft.com/en-us/library/…) –  Laurie May 3 '11 at 6:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.