Forum Discussion
Abi175
Sep 05, 2019Copper Contributor
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 creat...
Vikram_Samal
Sep 05, 2019Steel Contributor
Abi175 If I understand correctly you want to create list in SharePoint as one time activity. Then why don't you write a small console using csom/jsom code to create a list and define the as per your needs.
CSOM Crud Operation
JSOM Crud Operation
- Abi175Sep 06, 2019Copper Contributor
Vikram_Samal Thank you for your reply. I was looking to use the API directly instead of using CSOM or visual studio addin template. I figured that I can create a list using the Create list REST API after getting the correct App Web Url (which I was missing earlier).