SharePoint List Item Update
Version 1
This handler updates an item for a given Sharepoint list using the REST API and basic authentication. The item content to be updated is passed as a JSON string, where the keys are the list item labels (Title, Due Date, etc) and the values are the values to place in those columns when the item is updated. The field keys for a list can also be found by using Sharepoint List Items Retrieve to get an already created item, which can then be used to determine which keys match up with what columns. Any errors that happen during the call are caught and re-raised and the handler will return an empty result set upon a successful update.
- Make sure the SharePoint Web Services database is turned on.
Parameters
Name |
Description |
List Name |
The name of the list that the item should be updated on. |
Item Id |
The id of the item to update. |
Item (JSON) |
A JSON representation of what the item should be updated to. |
Sample Configuration
Name |
Description |
List Name |
Sample List |
Item Id |
3 |
Item (JSON) |
{"Title": "Updated Title", "Random Number": 17, "Random Date": "2017-12-31"} |
Results
This handler does not return any results.
Changelog
Sharepoint List Item Update V1 (2017-12-21)
- Initial version. See README for details.
Related Handlers
- Sharepoint Task Create
- This handler creates a new announcement in the SharePoint Tasks list
- Sharepoint Contact Create
- This handler creates a new contact in the SharePoint Contact list
- Sharepoint Discussion Board Post
- This handler creates a new post in a SharePoint Discussion Board
- Sharepoint Document Create
- This handler creates a document and then uploads it to a document library
- Sharepoint Document Upload
- This handler uploads a document to a document library
- Sharepoint Event Create
- This handler creates a new event within a SharePoint Calendar.
- Sharepoint Link Item Add
- This handler creates a new link item in the SharePoint Links list
- SharePoint List Item Add
- Creates an items for a given list in SharePoint using the REST API.
- SharePoint List Item Delete
- Deletes an items on a given list in SharePoint using the REST API.
- SharePoint List Items Retrieve
- Retrieves the items from a list SharePoint list using the REST API.
- Sharepoint List Retrieve
- This handler retrieves the contents of a list from the configured Sharepoint site and returns a JSON representation of the data.
- Sharepoint Site Create
- This handler adds a new Site to a SharePoint top level site.
- Sharepoint Task Create
- This handler creates a new task in the SharePoint Tasks list