Skip to main content

UpdateListingItem

Description

Update a 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

NameTypeDescription
oldObjVersArray <ObjVer>The old object versions.
newObjVersArray <ObjVer>The new object versions.
triggerCurrentSelectionundefined | false | trueTrue 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

TypeDescription
Promise < any >It returns promise<boolean>.