cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Can I access the current state of a widget's input datasets?

dclayworth
1-Newbie

Can I access the current state of a widget's input datasets?

I can access properties of a widget using

getProperty('propertyname')

However this doesn't seem to work for properties that are INFOTABLES. When I try to access them like this I always get an undefined result.

From observation I see that properties are stored in thisWidget.prototype.properties, but the INFOTABLE propeties don't seem to be included in them (though the output property INFOTABLES< which I have set with setProperty() are there).

I am currently keeping track of the current state of these properties by storing them explicitly in response to updateProperty(), but I would rather not do this if they are already stored somewhere, and I would presume that the widget has to store them somewhere

Are the INFOTABLE properties stored somewhere in the widget?

0 REPLIES 0
Top Tags