-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
I wanted to create a new List with custom fields/columns and Edit form configuration when the application is added to the App catalogue. I followed the guide on this page and also saw the video which shows that the fields should be part of the elements.xml
file:
but if the configuration shown above is used, it only creates a new list without any required fields.
After moving fields configuration to schema.xml
my list with required configuration was created:
All examples I've found are using this page as a reference, but it hasn't been working for me. I'm using SPFx 1.15.2.
Could you, please, add more information about fields
section in schema.xml
, compare to elements.xml
and list of individual field
?
Thank you.
M0jimo
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 2c30373b-3c44-c8bc-75d1-bb788efb479e
- Version Independent ID: 5ad284d8-3320-e7f3-0164-d29d3d82b74d
- Content: Provision SharePoint assets from your SharePoint client-side web part
- Content Source: docs/spfx/web-parts/get-started/provision-sp-assets-from-package.md
- Product: sharepoint
- Technology: sharepoint-framework
- GitHub Login: @VesaJuvonen
- Microsoft Alias: vesaj