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
| Name | Description | Type |
|---|---|---|
properties | Property sets for each object being promoted, as an array of SetPropertiesParams objects. | SetPropertiesParams[] |
check_in | If true, the object is checked in immediately, otherwise the object is left to checked-out state. | boolean |
Return type
| Name | Description | Type |
|---|---|---|
promoted_objects | The promoted objects with their updated information, as an array of ExtObjectInfo objects. | ExtObjectInfo[] |
Example
{
"promoted_objects": [] /* Array of ExtObjectInfo */
}