Change Field's DisplayName in a List in view
-
04-10-2020 - |
문제
I have view with following fields
<ViewFields>
<FieldRef Name="DocIcon" />
<FieldRef Name="Title" />
<FieldRef Name="Modified" />
</ViewFields>
I want to change name of a column, so I write
<ViewFields>
<FieldRef Name="DocIcon" />
<FieldRef Name="Title" />
<FieldRef Name="Modified" DisplayName="Badaboom" />
</ViewFields>
but it doesn't work.
Is there any way to change DisplayName in list definition? I know how to do it programmicaly, but xml seems to be not working.
해결책
To change the column name, you can simply select the field name from the List Settings page and change its title /column name to the desired name.
Note: the internal name of the column will still remain the same.
제휴하지 않습니다 sharepoint.stackexchange