Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top