updateBulkItems
@spartanfx/react / updateBulkItems
Function: updateBulkItems()
updateBulkItems(
payload):Promise<void>
Updates items in SharePoint in bulk using batching.
Parameters
payload
The configuration and items to be updated. Each item must include an ID.
Returns
Promise<void>
Remarks
- Items must contain an
IDfield, which is used to locate the existing item. - Properties other than
IDare treated as update values. - Uses batching with retry logic for throttling.
Example
await updateBulkItems({
listName: "Projects",
items: [
{ ID: 1, Title: "Updated Project A" },
{ ID: 2, Status: "Completed" }
]
});