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
propertiesProperty sets for each object being promoted, as an array of SetPropertiesParams objects.SetPropertiesParams[]
check_inIf true, the object is checked in immediately, otherwise the object is left to checked-out state.boolean

Return type

NameDescriptionType
promoted_objectsThe promoted objects with their updated information, as an array of ExtObjectInfo objects.ExtObjectInfo[]

Example

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