From the course: SharePoint Framework for Developers: 3 Deployment, Upgrades, and Lifecycle

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Upgrade SPFx solutions that provision SharePoint assets

Upgrade SPFx solutions that provision SharePoint assets

From the course: SharePoint Framework for Developers: 3 Deployment, Upgrades, and Lifecycle

Start my 1-month free trial

Upgrade SPFx solutions that provision SharePoint assets

- [Sahil] Let's start talking about upgrading SharePoint Framework solutions that provision assets, SharePoint assets, like a list, content type, etc. So I'm not going to cover the basics of how to write us such a solution, but we need a version one of this particular kind of solution package. There are other courses on LinkedIn, offered by me, that you can find where I've talked about how to author such solutions. Anyway, I'm going to start with Folder Two in Chapter One, the starting code there, the SPFx web part, and in here, I'm going to add two files, New Folder, assets, and inside that assets folder, and go ahead and drag drop this elements.xml and schema.xml. Now, in short, I'll tell you that this elements.xml is provisioning two columns, sites columns and a content type and a ListInstance. And the schema.xlm is the definition of that list. Now, how they get connected to my SharePoint solution package? It's actually quite simple, you need to make sure that you include a…

Contents