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
| Name | Description | Type | 
|---|---|---|
guid | The Object GUID. | string | 
Return type
| Name | Description | Type | 
|---|---|---|
obj_id | Receives 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>"
      }
    }
  }
}