SharePoint Online Addin project unable to create list and list instance by xml

Brass Contributor

I found this in https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/list-instance-sharepoint-add-in

 

The approach you take to create list instances is different in the new SharePoint Add-in model than it was with Full Trust Code. In a typical Full Trust Code (FTC) / Farm Solution scenario, list instances were created with declarative code and deployed via SharePoint Solutions.

 

Is that mean we cannot create list and list instance by xml in an addin project and deploy to SharePoint Online? If yes, Why Microsoft blocked this?

 

thanks

Peter

2 Replies

I think you are looking at the wrong place please take a look at PnP project. https://docs.microsoft.com/en-us/sharepoint/dev/community/community

 

And depending on what you are searching for you can create a combination with SharePoint and Azure to provision.

Hi Jack. I don't understand and i just want to know are we allowed to create list instance in a SharePoint Online App project?

thanks

Peter