AddPropertyDefinition in Extension SDK
hello,
can someone help out with this method?
Id like to add a simple Property to my ThingShape from my extension-created service
I'm using AddPropertyDefinition on my thingShape object like this:
thingShapeObject.AddPropertyDefinition(name,[...]);
but i keep getting the message
Unable to Invoke testService on testThing: Cannot cast java.lang.String to com.thingworx.thingshape.ThingShape
no matter what i do
Can anyone provide an working example?
Only need to set the Name parameter and type parameter to String. Should be totally enough, or do i need to set all parameters?

