PnP-Provisioning-Schema
PnP-Provisioning-Schema copied to clipboard
Bug: ListInstanceFieldRef DisplayName required or optional?
Using site columns in list instances. My use case uses translated column names in multiple languages. Currently having to use translated fieldnames in DisplayName attribute in the FieldRef tag inside a ListInstance element as DisplayName is a required attribute.
Looking at the schema documention, the description for the field says that it's an optional attribute, but the schema makes it required. Should this be changed in either the schema or the description. See lines 4511 and 4514 below.
https://github.com/pnp/PnP-Provisioning-Schema/blob/9cbda89b8b94efa6a0f755045734f2e5553922f0/PnP.ProvisioningSchema/ProvisioningSchema-2022-09.xsd#L4503-L4528
I think it should be (if it can be) optional, as the DisplayName should come from the FieldRef itself.