I'm trying to provision a sitecolumn in Office365. I'm using the following syntax:

<Field ID="{40f80a77-d528-45ae-aafe-e7b15ffa8e6a}"
        Group="LF Columns" />

But for some reason the DisplayName is not provisioned. As far as I can see I'm using the correct syntax.

Any tips on how to set the displayname during provisioning of a list?

Thanks! Ernst

  • BTW: the Microsoft example (docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/…) does not work as well. (even though they show an image with the correct names...) :( – Ernst Wolthaus Oct 9 '17 at 11:30
  • can you post your entire elements.xml ? I can try it at my end. The above link works correctly – Gautam Sheth Oct 9 '17 at 12:44
  • You are checking it on the Site Columns right ? There is a chance that your custom list schema has different DisplayName for that column compare to the element of the Column. Also you should try upgrading elements or remove and re-add the app so that the elements will take effect. – Thi Vo Oct 9 '17 at 16:47

Try with DisplayName="Company " because Display name "Company" is default site column.

  • Thanks, but duplicate DisplayName's are allowed in SharePoint. Also, all other provisioned fields also ignore the DisplayName attribute. – Ernst Wolthaus Oct 9 '17 at 11:29

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.