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 | Parameters (one set of parameters per object) as JSON array (represented by MF_SetPropertiesParams struct). | 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 | Results as JSON array (represented by MF_ExtObjectInfo struct). | ExtObjectInfo[] |
Example
{
"promoted_objects": [] /* Array of ExtObjectInfo */
}