Open EA12 opened 3 months ago
SharePoint Online
π₯ SharePoint Framework
Windows
A calculated field is not added to the content type even when defined in the elements.xml
Field Definition: <Field ID="{ed8aee2b-10c7-4dd0-bff1-5f240c8814f2}" Name="IRCO2Before" DisplayName="CO2-Verbrauch vor Investition" Type="Number" Decimals="0" Min="0" Group="Invest" /> <Field ID="{116ca0de-e899-45d8-9caf-21c821b46f00}" Name="IRCO2After" DisplayName="CO2-Verbrauch nach Investition" Type="Number" Decimals="0" Min="0" Group="Invest" />
<Field ID="{ed8aee2b-10c7-4dd0-bff1-5f240c8814f2}" Name="IRCO2Before" DisplayName="CO2-Verbrauch vor Investition" Type="Number" Decimals="0" Min="0" Group="Invest" /> <Field ID="{116ca0de-e899-45d8-9caf-21c821b46f00}" Name="IRCO2After" DisplayName="CO2-Verbrauch nach Investition" Type="Number" Decimals="0" Min="0" Group="Invest" />
Calculated field definition: `
<FieldRefs> <FieldRef Name="IRCO2After"/> <FieldRef Name="IRCO2Before"/> </FieldRefs>
`
Content type definition part: `
The calculated field should be attached to the content type.
Hello? Nobody from MS?
Hello? Nobody?
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
A calculated field is not added to the content type even when defined in the elements.xml
Steps to reproduce
Field Definition:
<Field ID="{ed8aee2b-10c7-4dd0-bff1-5f240c8814f2}" Name="IRCO2Before" DisplayName="CO2-Verbrauch vor Investition" Type="Number" Decimals="0" Min="0" Group="Invest" /> <Field ID="{116ca0de-e899-45d8-9caf-21c821b46f00}" Name="IRCO2After" DisplayName="CO2-Verbrauch nach Investition" Type="Number" Decimals="0" Min="0" Group="Invest" />
Calculated field definition: `
`
Content type definition part: `
Expected behavior
The calculated field should be attached to the content type.