Skip to main content
17-Peridot
October 26, 2018
Question

How to enable local bound for thingshape property?

  • October 26, 2018
  • 8 replies
  • 3261 views

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
October 29, 2018

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.

17-Peridot
October 29, 2018
Thank you for your response.
I saw an error "Can not bind yourself" in application log.

Thanks & Regards,
Sathishkumar C
16-Pearl
November 2, 2018

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