sp-list-to-table
v0.0.1
Published
Get SharePoint list items' data as a table.
Downloads
1
Readme
sp-list-to-table
Get SharePoint list items' data as a table.
Installation
npm install sp-list-to-table --save
Usage
var list2Table = require('sp-list-to-table');
var webUrl = 'web url';
var listTitle = 'list title';
var camlQuery = new SP.CamlQuery();
var includes = ['Title', 'Name'];
var useAppContextSite = false;
list2Table(webUrl, listTitle, camlQuery, includes, useAppContextSite, function (table) {
// Do something
}, function (sender, args) {
// Error
}):
License
MIT.