Problem: Creating a new component with Input parameters. When using the component and setting the custom input parameter with a variable, the value passes thru, as the variable is reset, the control does not update with the variable. Replication Steps are recorded in the 2 min 20 sec recording showing the issue.
Initial Hypothesis: I have a large Power App project that uses this technique a lot. The global variable were working until Fri 14 Feb 2020. I believe the Power Apps version has been updated and is causing the issue. I have tried the work on multiple environments and tenants. It is happening across them all.
Solved! Go to Solution.
There was a problem with the rollout to preview.create.powerapps.com, so if you are seeing version 3.20022.19, it may not work yet. The rollout to preview should be complete later today. Apologies for the inconvenience.
This is a known issue in the new release that should be fixed soon. As a quick fix, local variables - UpdateContext() - seem to be working correctly.
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
I have been fighting this bug all morning! I am glad someone reported it and it will be fixed. I have a large project I am working on that I am due to preview tomorrow. This is a huge deal that doesn't take long to resolve (like today!).
I have not tested it, but I saw on Twitter that collections are working too. You could add your global variable to a collection like this:
Then reference it like this
I would have liked to be informed about bugs like this instead of spending all morning trying to find out why suddenly all my components no longer correctly update..
The key takeaway for Microsoft and the Powerapps team here, is that if you discover a bug in the online tool, you roll back to the latest stable release immediately.
Containers are not really considered experimental, more like a key need for reusability. Just like functions (globally and locally defined), they are drastically needed to reduce code and avoid the Powerapps creator to become slow.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.