cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DiVojich
Frequent Visitor

Issues with app

There are a ton of issues with my apps right now, and the issues seem to change every day.

On the Home page, there is a button called "button" that has a function of Set(varLoading, false).
There is also a big purple icon of a clock that has its visible property set to: varLoading.
There is an arrow icon in my gallery that then sets the varLoading to true.
In my variables I can see that varLoading appears both in Global and in Home, and it is different values in each.

 

Any idea what am I doing wrong?

 

Kind regards,

Dino

2 REPLIES 2
Super User
Super User

Re: Issues with app

When you have variables that set items showing/hiding you need to make sure you include it on the OnVisible of the screen to give it a starting place. Tell it when you get to the screen do you want it to start out showing or not.

 

To prevent it from being "duplicated" I often do copy/paste and then modify it to make sure it is exact..the slightest difference can make it show as a separate variable. 

Dual Super User
Dual Super User

Re: Issues with app

Are you using a Set() to change the value of varLoading on the arrow or an UpdateContext()? Both can be used to create and update variables, but they are different variables.  Set() creates a global variable that is available everywhere in the app.  UpdateContext creates a local variable that is available only on a specific screen.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Attending MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’re streaming the digital event live, or watching on-demand, claim your attendee badge to sport on your profile.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We're launching a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Emergency Response & Monitoring Solution

Emergency Response & Monitoring Solution

Microsoft has created a regional government emergency response and monitoring solution that is built on Power Apps and Power BI.

Top Solution Authors
Top Kudoed Authors
Users online (6,055)