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
Name | Description | Type |
---|---|---|
obj_vers | Object versions as JSON. (represented by MF_ObjVerArray struct) | ObjVer[] |
force | If 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
Name | Description | Type |
---|---|---|
results | Results as JSON array. | ExtObjectInfo[] |
Example
{
"results": [] /* Array of ExtObjectInfo */
}