Search code examples
cumulocity

where to Storing a managed object in custom app hosted in cumulocity


Where to store the managed object for the custom angular 6 App which is hosted inside the cumulocity

Thanks BA


Solution

  • If you need to store metadata for your applications the inventory is the right place. A good approach is to give your object either a unique type for some unique flag.

    {
      "type": "myUniqueType",
      "myUniqueFlag": {}
    }
    

    That way you can easily query it again with either type=myUniqueType or fragmentType=myUniqueFlag