I’m currently building a custom data reference.
This data reference need to return a custom object or a list of object. It is working on PI AF, but on the PIWebAPI it returns:
Now, instead of returning an object, I return a JSON string of it, but it will be better for me that it returns an object.
So, my question is:
Is it possible for a custom data reference to return an object?
Is your question if the PI Web API can return attributes that are configured as objects? If so, the answer is no. The PI Web API does not have a way to deserialize arbitrary objects specified in your data reference.
Retrieving data ...