web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Variable value correct...
Power Apps
Unanswered

Variable value correct, but Action behavior Not working

(0) ShareShare
ReportReport
Posted on by 23
I am having lots of difficulty with my app maintaining its functionality & data.  
 
For instance, at times, usually when I have not accessed the app in a day or so, I may open up the app, and the Edit Form that I designed, with snap to columns engaged, suddenly has shifted and some fields are in different areas, some have changed their shape & size and it looks like a jumbled mess.  
 
Other times, there may be a variable that is set to false, and that variable is used to make a text label visible.  The variable is in the Visible field of the component, set to false, yet the label is visible.  If I delete the variable out of the Visible field, and just paste it right back in there - suddenly it works again.  
 
So many random issues like that - and it's to the point that I don't want to push this app out to my team for use because it may at any given time just do random things like this.  
 
I did read where sometimes if sources are updated it will cause this but it happens even when nothing was updated.  Anyone else experience? and/or solved it? 
Categories:
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    Are you generally using global variables or context variables?
    If global are they initialized in the OnStart?
    Do you leave the app open and resume or close it and restart? 
  • jyounce Profile Picture
    23 on at
    @ronaldwalcott - I use both global & context variables.  The particular variables in the example above with the visible property, is a context variable.  It is defined with UpdateContext in the OnVisible screen to true   --  UpdateContext({variablename:true}).  And when I hover over the variable or look in the Variable side bar, it says the value is true.  And I click into the field in the Visible part of the component, and hover over the variable, it says its value is true.  
     
    Everything points to true, yet the component is not visible.
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    Do you leave the app open and resume or close it and restart? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard