Forum Discussion

Peter Cheung's avatar
Peter Cheung
Brass Contributor
Oct 17, 2018

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

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

Resources