Can't change title field display name
-
29-11-2019 - |
문제
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?
해결책
Your update is correct, you can rename the field in your list schema.
다른 팁
It could be the Inherits attribute that is giving you grief. Check out this blog post:
제휴하지 않습니다 sharepoint.stackexchange