Skip to content
JSOM Samples for CRUD operations on List Items in SharePoint
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
JSOM
JSOM_SharePointAdd-In
LICENSE
README.md

README.md

Sample SharePoint JSOM Scripts

Refer these JS frameworks while using JSOM in the same order:

<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.js"></script>
<script type="text/javascript" src="/_layouts/15/SP.RequestExecutor.js"></script>

SP.RequestExecutor.js is required only when cross domain calls is being made in JSOM

CRUD Operations using JSOM:

1. Create list item
2. Retrieve list items
3. Update list item
4. Delete list item

CRUD Operations using JSOM in SharePoint Add-In:

1. Create list item from SharePoint Add-In
2. Retrieve list items from SharePoint Add-In
3. Update list item from SharePoint Add-In
4. Delete list item from SharePoint Add-In

License

All files within this repository are released under the MIT (OSI) License as per the LICENSE file stored in the root of this repository.

You can’t perform that action at this time.