Skip to main content
14-Alexandrite
November 2, 2022
Solved

Update property ( Base Type = ThingName) on thing

  • November 2, 2022
  • 1 reply
  • 750 views

Hi,

 

I have a problem about update a property of base type ThingName.

 

Scenario: 

=> Thing Template  = 'ABC' (contain property 'test' of type string)

=> Thing : 'EFG' contain a property of base type THINGNAME (Thing template : 'ABC') , i name it ABC_1

On the service of thing 'EFG' i want to update the property test 

 

 this code : me.ABC_1.test ='new value' does not work !

 

Do you have any idea how to achive this ?

 

Thank you in advance.

 

 

 

Best answer by Sathishkumar_C

try below...

Things[me.ABC_1].test = 'new value';

1 reply

17-Peridot
November 3, 2022

try below...

Things[me.ABC_1].test = 'new value';