Forum Discussion

Abi175's avatar
Abi175
Copper Contributor
Sep 05, 2019

Creating a custom list inside appweb “programmatically” for a provider hosted sharepoint add-in

I am new to Sharepoint development and I am looking for a way to create a new list inside appweb space (this list will be specific to the addin) for a provider hosted add-in. I understand I can create a list using visual studio during addin development and deploy the addin. I read this reference from Microsoft about creating list inside a provider hosted add-in

But I don't want to make changes to the add-in, so I am looking for a way to create a similar list using the sharepoint API directly. Is there any specific reason not to use the Sharepoint API and use the add-in to create such a list ? I am not sure if this is even possible for a provider hosted add-in (creating a list inside app web instead of the usual sharepoint space).

Resources