Frage

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so:

<FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" DisplayName="Foo" Required="TRUE"/>

But there is still Title instead of Foo. What can I do to make it work?

EDIT:

After looking into question and responses from SO, which Nikhil posted in his comment, I assume that what I want to do can be done only by changing display name of title field in list definition, not in content type field reference?

War es hilfreich?

Lösung

Your update is correct, you can rename the field in your list schema.

Andere Tipps

It could be the Inherits attribute that is giving you grief. Check out this blog post:

Custom Content Types and Inherits in SharePoint 2010

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange
scroll top