Troubleshooting Meta Data Query


This page describes how to troubleshoot the issues encountered when you query meta data.

Failed to Query Attributes or Measurement Points under an Object Type Using the Meta Data API


When you try to query data through the meta attribute/measurement point API, some attribute/measurement point data under the target object type cannot be queried.

Cause


By default, Common Data Service only supports querying the attributes and measurement points defined on the EnOS model directly associated with the object type, and cannot query the attributes and measurement points defined on the sub-models.

Solution


Get attributes/measurement points defined on sub-models by configuring virtual attributes/measurement points. For example, to get measurement point abc on a sub-model, you can define a virtual measurement point “abc” whose expression directly refers to measurement point abc on the sub-model. For more information, see Measurement Point Expression.