Parameters of QueryNamedPropertyHistory.
Hello everyone,
I am trying to make use of the QueryNamedPropertyHistory service. I need to pass the property names.
This is what I have:
let result = me.QueryNamedPropertyHistory({
oldestFirst: undefined /* BOOLEAN */,
maxItems: undefined /* NUMBER {"defaultValue":500} */,
endDate: undefined /* DATETIME */,
propertyNames: {"myDataShape": "prop1, prop2, prop3"}/* STRING /* INFOTABLE {"dataShape":"EntityList"} */,
query: undefined /* QUERY */,
startDate: undefined /* DATETIME */
});
However, I get the following error: Unable To Convert From org.json.JSONObject to INFOTABLE - See Script Error Log for more details.
My take is that I am passing the property names incorrectly. Do you perhaps have any suggestions for me?
Much appreciated.
Thank you 🙂

