cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iamneaz
Advocate II
Advocate II

Cannot use variable in component

I am following This tutorial to create a dialogue in a component.
I am unable to put the variable (visible_variable ) created in the component to the Custom_Property_1(Output type) field. The error powerapps provides me is "Name isn't valid. 'visible_variable' is not recognized".
What is the solution to this problem?

1 ACCEPTED SOLUTION

Accepted Solutions
iamneaz
Advocate II
Advocate II

Well, it was my bad. I was not assigning Output type on the custom property. Now it works.

View solution in original post

4 REPLIES 4
ShaheerAhmad
Advocate V
Advocate V

Can you please briefly describe what you wanna achieve and whats your issue?

That way i can understand and try to sort your problem.

I am trying to implement a dialogue component by following this tutorial :
https://powerapps.microsoft.com/en-us/blog/introducing-onreset-property-of-component/
In the tutorial, the variable "visible_variable" is set in the onSelect of the dismiss button and onReset in the component. This variable is also used in the output of the component named CustomProperty1.
My Problem is that when i put the variable in the output type variable of the component, The error powerapps provides me is "Name isn't valid. 'visible_variable' is not recognized". How can i remove this problem ?

iamneaz
Advocate II
Advocate II

Well, it was my bad. I was not assigning Output type on the custom property. Now it works.

ok best of luck brother. kindly consider accepting my answer as a solution and give a thumbs up.

and do visit my blog where i post about power platform

shaheer365.blogspot.com 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,596)