1

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?

1

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

0

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

Custom Content Types and Inherits in SharePoint 2010

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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