I have created some apps that rely on components to (for example) display stuff based on some input parameters. At some point in the last week (?) they stopped working properly (they were working fine before).
For example, I have a component that displays a text based on an input parameter "Text". On the form, the "Text" property of the component is set to "variable.name". But the label on the component that should display that value stays empty.
See attached example.
/edit: The example I attached only shows this with regard to displaying a text on a label in a component. But what makes this worse is that some of my components also have internal conditional logic to them based on boolean (or other) input variables. If that's not working, well that kind of breaks the whole app...
Solved! Go to Solution.
Same problem here.
If you pass a variable parameter to the component and the variable value changes. The parameter becomes empty!!
Tested with a text, array, object parameters and always same buggy behavior.
I have a lot of components in different apps, fortunately it keeps working on the already published versions, i don't even dare to update them.
I've remarked also, if you pass this variable to a control on your app (let's say on the control text) and then pass to the component myControl.text, it keeps working. But we all know this is a very bad practice!
Hope Fixes this ASAP.
i've found a solution for this. Hope this helps if someone is facing the same problem
Frankly, i hope MS will fix this, so we can pass Global variables as parameters to the components. In more, there is now the Component library, so if i'm going to publish some components to be used by the 'Citizen developers', i'm not sure if they will understand / like the fact that they should use local variables each time instead of using the same variable everywhere.
Find your favorite faces from the community presenting at the Power Platform Community Conference!
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