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 am defining a custom list content type for SharePoint (using VSeWSS 1.3 and schema.xml).

I want to change the display name of the default title field ('Title') to 'Serial Number':

<Fields>
  <Field Name="Title" DisplayName="Serial Number" Type="Text" />
</Fields>

I am using the LinkTitle column in my definition of the default view for this list (in schema.xml). However, after creating an instance of this custom list type and creating a new item, the first column still shows 'Title' instead of 'Serial Number'.

I want to reuse the Title column so the user can access the items action menu from the serial number column.

share|improve this question

migrated from stackoverflow.com Mar 1 '12 at 22:27

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 11 down vote accepted

I had the Similar Issue. You need to do that same thing for the LinkTitle as well to get Name in the Default View. Though in the <ViewFields> <FieldRef> tag you have an option for DisplayName it didnt work as expected. Only way I found is to

<Field Name="LinkTitle" DisplayName="Serial Number" Type="Text" />
share|improve this answer
    
That does indeed do the trick - thx! –  Philipp Schmid Aug 13 '09 at 18:43

That's because LinkTitle is the column you had in your view. :)

The Title column comes in three primary flavours for standard lists:

  • Title | fa564e0f-0c70-4ab9-b863-0177e6ddd247
  • LinkTitle | bc91a437-52e7-49e1-8c4e-4698904b2b6d
  • LinkTitleNoMenu | 82642ec8-ef9b-478f-acf9-31f7d45fbc31

Additionally you can set the StaticName parameter in your field definition.

share|improve this answer

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.