Page 1 of 1

Setting a Global Variable

Posted: Tue Jun 02, 2015 6:04 pm
by 22Alec2222 .

I am wondering how to declare a global variable in appery. I am making a list of check boxes, and when checked I want to set a boolean variable to true for each box. I want to be able to give messages in the RSS feed tags, and I want the RSS feed to only show messages for which the user has the tags checked.

Basically, I want the checkbox to set a boolean for it's corresponding tag to true. Then I want the RSS feed to display all content with tags that the user has set to true.

How might I go about doing this?


Setting a Global Variable

Posted: Tue Jun 02, 2015 6:25 pm
by CTRK Chaitanya

Have you considered storing the value in the local storage.


Setting a Global Variable

Posted: Tue Jun 02, 2015 7:11 pm
by Serhii Kulibaba

Hello,

Documentation about storage variables you can found here: https://devcenter.appery.io/documenta...


Setting a Global Variable

Posted: Wed Jun 03, 2015 8:16 pm
by 22Alec2222 .

I'm afraid I don't entirely understand how this system works. Let's see if I'm on the right track.

If I make this under storage: Image

And this event: Image

Will that return a true or false value to my local storage variable? (testTag1)


Setting a Global Variable

Posted: Thu Jun 04, 2015 6:08 am
by Alena Prykhodko

Hello,

True value.