I have a screen component with a menu inside. Menu items are "Cancel", "Help", "Submit".
How do I get the Component to provide output when a menu item is selected? I'm almost certain its with a Custom Output Property, but these still don't make sense to me.
Create a custom property of type output and define its type
Next in your component on select of your Menu Items (buttons or labels) set variable (Set Variable function) to value to output based on each tab selection (this variable is within scope of the component instance only)
In the compoment properties, set default value for the output property as the variable
Next on the screen where the component is setup to read value use componentname.outputpropertyname
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @ericonline ,
The reason why you met this problem is that global variable is not supported in component.
Components are meant to be portable. You should be able to create a component in one place and use it in many. If it relies on global variables or other aspects of your App - it will not be portable.
So I suggest you remove all your formulas about global variables inside component.
Here are similar issues for your reference:
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round