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 https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/create-a-provider-hosted-add-in-that-includes-a-custom-sharepoint-list-and-conte

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 https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest 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).

2 Replies

Resources