Applies to:
updateSharePointItem
Developer Process Extensions
Updates the metadata of an existing SharePoint item(s).
Argument |
Description |
adHocXml |
Xml describing which list items are to be updated. |
Return Value: None
Example Input Argument: This example updates the "Country" and "State" of a few list items in the SharePoint list "Employee".
<SVProcess>
<SourceItem ListName="Employee">
</SourceItem>
<UpdateData>
<ItemToBeUpdated>
<ItemId>3</ItemId>
<Country>IN</Country>
<State>PB</State>
</ItemToBeUpdated>
<ItemToBeUpdated>
<ItemId>4</ItemId>
<Country>IN</Country>
<State>UP</State>
</ItemToBeUpdated>
<ItemToBeUpdated>
<ItemId>5</ItemId>
<Country>US</Country>
<State>CA</State>
</ItemToBeUpdated>
</UpdateData>
</SVProcess>
Note: Providing ItemId node is mandatory in the Input Xml above.