Since yesterday, the Visible property of my custom components doesn't seem to react to the backing variable changes.
In many places in my canvas apps I use components to display warning or progress messages while the app is working
For example, in the App OnStart event:
// ... long running process ...
then I bind a custom component Visible property to the IsWorking variable and it works fine....well that was until yesterday!
I tried to explicitly call Reset(component_name) after changing the var value, same result. I even tried triggering the variable change on a button click just to isolate the problem...again same result.
Strangely, if I change the Visible property directly in the "formula bar" by typing the variable name, it works.
I've found a workaround using containers instead of components, even tough I don't like using experimental features...but at least it works!
Anyone had the same problem?
Solved! Go to Solution.
I've had some unexplainable behaviour in created components aswell. You may want to check whether the name of the variable is set both in the app as well as in the component ie. are you also using IsWorking within the component?
Not sure whether this solves it, but I remember having an issue with this at some point in time.
Actually the "IsWorking" variable is only used to toggle the component visibility, as you would do for any other controls. So it is declared in the app OnStart and then used in different functions of the app.
The strangest thing about this situation is that it worked very well in the past 2 months and then it stopped working. This might has to do with a bug introduced in a recent PowerApps version.
I am getting the exact same issue which only appears to have started in the past few days. My issue has been around the visible property and also setting the colours of components using a custom input property.
Hopefully a fix will be issued soon.
Check out the on demand sessions that are available now!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021