SpRestLib
SpRestLib copied to clipboard
JavaScript SharePoint REST Web Services Library
Hi, I'm using the SpRestLib in Node and was unable to make sprLib.folder().add() work, I always got the error message "The security validation for this page is invalid. Click Back...
#site location of code: /sites/uat/vanilla # code: ``` script.onload = function () { sprLib.folder("SiteAssets").info().then(objSiteInfo => console.log(objSiteInfo)); } ``` # results: Created: "2018-09-05T16:25:54" FolderCount: 9 HasSubdirs: true HasUniqueRoleAssignments: false Hidden: false...
Any plans to support batch requests [https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/make-batch-requests-with-the-rest-apis](url)? I love this library and sometimes will need to loop through a list to make many updates and SharePoint online throttles me. Thanks!...
My use case is about handling empty lists. It would greatly simplify some code if I didn't have to treat the empty list case as a special one. Is it...
-Type: application/atom+xml;type=feed;charset=utf-8 Perhaps in an afront to my sanity, one of the sharepoint servers I am querying, despite requesting a JSON response, seems to be returning application/atom+xml. I am certain...
It appears that SP REST Api support for adding and updating groups is relatively weak compared wtih other APIs. Is there anything that can be done witha d]
The methods available for returning list items are paged. Can the pattern below be made more general or idiomatic? The desired function ``` getRecords('Test',['ID', 'Title', 'SupplierId']) .then(function(ret) { console.log(ret); });...
Hi, Is there any planning to implement some methods to manage (list, start & stop) list workflow instances? Thanks,