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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Update property ( Base Type = ThingName) on thing

AliBenBelgacem
14-Alexandrite

Update property ( Base Type = ThingName) on thing

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.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

try below...

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

View solution in original post

1 REPLY 1

try below...

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