How To Create Columns In A List Using REST API In SharePoint Online And Office 365

Welcome to an article on “How to create columns in a list using REST API in SharePoint Online and Office 365” where we will see the steps of creating an app using Napa Tool which will help us to create a column in a list using REST API.

Open the “NAPA” Office 365 Development Tools through your SharePoint store.

Click on Add New Project.

It will ask you, what type of app do you want to build?

Select SharePoint Add-in and provide a name to your app and click on Create.

You will see the screen below on the app,

Click on Default.aspx and paste the code below under the,

“<asp:ContentContentPlaceHolderID=“PlaceHolderMain” runat=“server”>”.

Code:

Create List Column

“text” id=“createcolumnname” />

“createcolumn”>Create Column

Now on the navigation click on the App.js file and paste the code below removing the previous code completely.