Skip to main content

GetObjIDByGUID

Gets the Object ID of the object that is identified by the specified Object GUID.

Syntax

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.GetObjIDByGUID({
guid: "<!< The Object GUID.>",
});

Message

NameDescriptionType
guidThe Object GUID.string

Return type

NameDescriptionType
obj_idReceives the object ID as JSON.ObjID

Example

{
"obj_id": {
"type": 0,
"item_id": {
"internal_id": 0,
"external_repository_id": {
"connection": "<!< The external repository connection identifier.>",
"item": "<item>"
}
}
}
}