Skip to main content

UndoCheckoutMultiple

Undoes the checkout of one or more objects.

Syntax

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.UndoCheckoutMultiple({
obj_vers: [] /* Array of ObjVer */,
force: false,
});

Message

NameDescriptionType
obj_versObject versions as JSON. (represented by MF_ObjVerArray struct)ObjVer[]
forceIf true, undo checkout is performed even if the document was not checked out to the caller (if the caller has sufficient rights).boolean

Return type

NameDescriptionType
resultsResults as JSON array.ExtObjectInfo[]

Example

{
"results": [] /* Array of ExtObjectInfo */
}