문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top