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_versThe object versions to undo checkout on, as an ObjVerArray object.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 */
}