Follow

mfw thingworx infotables are even worse than i thought

when you return one via a service and access via the API, you get JSON back, obviously

the way this JSON is set up is NOT AT ALL how you actually access the infotable within javascript

(cont'd)

for instance

if a column in the infotable has Units associated with it, to access them in the returned JSON I do:

dataShape.fieldDefinitions.Column.aspects.units.stringValue

HOWEVER

if i try to access the units from WITHIN the JS code

i do

dataShape.fields.Column.aspects.units

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!