Skip to main content

PromoteUnmanagedObject

Promote unmanaged objects to managed.

Syntax

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.PromoteUnmanagedObject({
properties: [] /* Array of SetPropertiesParams */,
check_in: false,
});

Message

NameDescriptionType
propertiesParameters (one set of parameters per object) as JSON array (represented by MF_SetPropertiesParams struct).SetPropertiesParams[]
check_inIf true, the object is checked in immediately, otherwise the object is left to checked-out state.boolean

Return type

NameDescriptionType
promoted_objectsResults as JSON array (represented by MF_ExtObjectInfo struct).ExtObjectInfo[]

Example

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