private AddSPListColumn():void
{
pnp.sp.web.lists.getByTitle("Test").fields.addText("EmployeeName")
.then(function(response){
console.log("New Column added!");
}).catch(function(exception)
{
alert("Something went wrong :"+exception);
});
}
No comments:
Post a Comment