grunt-sharepoint-list
add item to sharepoint list
Getting Started
This plugin requires Grunt ~1.0.3
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-sharepoint-list --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The "sharepoint_list" task
Overview
In your project's Gruntfile, add a section named sharepoint_list
to the data object passed into grunt.initConfig()
.
grunt;
Options
options.username
Type: String
Default value: ', '
A string value that is used to do something with whatever.
Usage Examples
sharepoint_list: projectA: options: username: '' password: '' ntlm_domain: '' list: 'ApplicationReleaseInfo' base: 'https://companyname.com/depict' listitem: __metadata : type: 'SP.Data.ApplicationReleaseInfoListItem' Project_x0020_NameId: 0 Application_x0020_NameId: 0 Title: 'new release title' Release_x0020_Date: grunttemplate VersionNumber: '1.0.0' ReleaseNotes: 'all info about the release'