SharePoint default view ignores custom name DisplayName

I created my own type of content that inherits from the contact (ie <ContentType ID = "0x010600 ..."), and I'm trying to rename the "Title" field using the following:

<FieldRefs> <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" DisplayName="Last Name" Sealed="TRUE" /> <FieldRef ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" Name="LinkTitle" DisplayName="Last Name" Sealed="TRUE"/> <FieldRef ID="{BC91A437-52E7-49E1-8C4E-4698904B2B6D}" Name="LinkTitleNoMenu" DisplayName="Last Name" Sealed="TRUE" /> </FieldRefs> 

It is correctly renamed on the edit, view, and add pages, but the default view and DataGrid view always indicate the name. I want it to be renamed everywhere. This is what I'm trying to do, and if so, how? Any help is appreciated.

+6
content-type sharepoint
source share
1 answer

In order for the field to be renamed, you must define your list using a ListTemplate and repeat the renaming of the fields here (as well as annoyingly repeating all the fields from your content type that is not standard)

+4
source share

All Articles