Sunday, 17 March 2019

spfx Get Files and Folder using pnp



private GetFilesFolder():void
{
pnp.sp.web.lists.getByTitle("Site Assets").items.getAll().then(function(response)
{
console.log(response);

}).catch(function(exception)
{
alert("Something went wrong :"+exception);
});
}

No comments:

Post a Comment