private AddNewFolder():void
{
//id of content type
pnp.sp.web.folders.add("SiteAssets/NewFolder").then(function(response)
{
console.log("New Folder added !");
}).catch(function(exception)
{
alert("Something went wrong :"+exception);
});
}
No comments:
Post a Comment