When building a component and try to use UpdateContext({MyLocalVarible}), get an error: UpdateContext is an unknown or unsupported function. It works ok on Screens, just not in a component.
Any help would be appreciated!
Thanks for your reply! Following the suggestion provided I get the same error for the OnSelectCancel" Unknown or unsupported function in namespace.
I will open a ticket...thanks
Hi @Syvenn
This link describes how to use the OnSelect property in components and create local variables.
Power Apps Component With An OnSelect Property - Matthew Devaney
Best Regards,
Levi
Thanks for the reply, passing variables is not the issue. The issue is I can't use the UpdateContext function to manage my variables within the component.
To pass information out of a component, you need to create an Output property to the component, then assign that property whatever it is you want out of the component (which seems to be a record, in this case).
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,089
Most Valuable Professional