Skip to main content
17-Peridot
Oct 26, 2018 2:35 PM UTC
Question

How to enable local bound for thingshape property?

Hi All,

I am trying to enable local bounding with thingshape's property which is implemented on thing. How to enable local bounding with own thing property?

Ex. Created a thing "TestThing" with "ThingProperty" and Implemented "TestThingShape" with "ThingShapeProperty". Trying to enable local bound "ThingShapeProperty" with "ThingProperty". It was binded with "ThingProperty" but data was not updated.

 

Thanks & Regards,

Sathishkumar C.

8 replies

5-Regular Member
Oct 29, 2018 1:48 PM UTC

Hi, Sathishkumar.

 

What version of ThingWorx are you using? There are no errors thrown in either the UI or the logs when you try this?

 

Thanks,

 

-- Craig A.

Translate
17-Peridot
Oct 29, 2018 2:06 PM UTC
Thank you for your response.
I saw an error "Can not bind yourself" in application log.

Thanks & Regards,
Sathishkumar C
Translate
16-Pearl
Nov 2, 2018 7:08 AM UTC

yes, even i am getting the same error when i tried same scenario at my local end.

error : Cannot Bind To Yourself

 

i think thingshape becomes values when it is implemented by some thing -- thingshape being alone doesn't make sense

so in our case when our thing implements that thingshape -- properties defined in both thing & thingshape are both confined to same thing entity.. thats why it gives the error : Cannot Bind To Yourself

 

but if you create another thing and bound the properties between these 2 things - bind happens

Translate