Skip to main content
12-Amethyst
December 1, 2021
Solved

I want to change the variable of Thing by using the push button.

  • December 1, 2021
  • 1 reply
  • 1516 views

Dear all

 

I'm trying to send an e-mail on mash-up button.

The test was completed using the mail extension.

I want to send mail when the push button of mash up is pressed.

So, when I click the button of the mashup,

I need to activate the bool variable to activated the subscription.

 

KS_10093424_0-1638335879101.png 

  (Push the button)                    

               ↓

 

KS_10093424_1-1638335921115.png

 (Change the Set value to true)

 

 

Thank you. 

Best answer by SH_KIM

Hi Paichung,

 

What I'm asking, how do I trigger bool variable ?

That mean, How can I link the Button and Bool variable.

However, It was solved using Set properties and Get properties values.

 

Thanks for your reply,

 

1 reply

22-Sapphire I
December 2, 2021

Why not trigger the SendMessage service directly?

SH_KIM12-AmethystAuthorAnswer
12-Amethyst
December 3, 2021

Hi Paichung,

 

What I'm asking, how do I trigger bool variable ?

That mean, How can I link the Button and Bool variable.

However, It was solved using Set properties and Get properties values.

 

Thanks for your reply,

 

22-Sapphire I
December 3, 2021

Glad you figured it out.

You can even use custom service and use Thing[NameOfThing].NameOfProperty = value;

Or use UpdatePropertyValues if you want to set multiple properties that are local or remote properties.