Skip to main content

Task SharePoint - Add List Item​

The SharePoint - Add list item Task adds one item to an existing list on a SharePoint site, using a SharePoint Connection.

The SharePoint Tasks work with SharePoint 2010, 2013 and 2016 on premises, and with SharePoint Online.

Add list item tab with the Connection, the Title list and the Field(s) grid

warning

This Task uses a SharePoint Connection; see Connection - SharePoint. When a certificate is selected in the Connection, the Task accepts any server certificate, and each run of a SharePoint Task changes TLS handling for the whole Server process.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Add list item tab​

  • Connection: the SharePoint Connection to use. The button next to the list manages Connections
  • Title: the title of the list to add the item to. Click the button next to the box to show the lists of the site. Variables are not resolved in Title
  • Field(s): one row for each field of the list, with the columns Use, Name and Value. Check Use and enter a Value for each field to set in the new item. Click Refresh fields to fill the grid with the fields of the list in Title. Variables are resolved in Name and Value

For a lookup field, enter the value of the looked-up column; the Task finds the matching item in the looked-up list. When no item there has that value, the field is left empty in the new item.

Output and errors​

The Task does not write output.

warning

When no list on the site has the title in Title, the Task adds nothing, and the Task reports success.