It can take a lot of time to rewrite this snippets every time you develop something in SharePoint, so I set out to make this quick and easy for any SharePoint Developer!
After installation you can just type SP where you want the snippet, intellisense will show you all four options. Just press tab or enter to insert onto page.
This extension provide snippets for the following :
1. Update list item
2. Create list item
3. Delete list item
4. Get list item/s
Note: basic knowledge of the REST API is needed.
Some of the snippets use jQuery to get the Digest Value. Remember to include jQuery on your page or replace the line with
document.getElementById('__REQUESTDIGEST').value
Initial release of this extension
Licensed under MIT
- Please let me know if you feel that I have missed something [email protected]
Enjoy!