UpdateListingItem
Description
Update the items in the listing. It is a new method added for vNext.
Syntax
// shellListing points to instance of IShellListing
const result = await shellListing.UpdateListingItem(
oldObjVers,
newObjVers,
triggerCurrentSelection,
);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| oldObjVers | Required | Array < IObjectVersionEx > | Array < ObjVer > | The old object versions. |
| newObjVers | Required | Array < IObjectVersionEx > | Array < ObjVer > | The new object versions. |
| triggerCurrentSelection | Optional | boolean | True to trigger current selection event without any condition. By default specify false or do not pass anything for this parameter. Only for special cases like Follow/Unfollow object actions this parameter should be passed as true. |
Return type
| Type | Description |
|---|---|
Promise < boolean > | Return "true" if the action succeeds, otherwise "false". |