I have built a component which includes a Gallery with icons in the template section, the icons have this code in the OnSelect section - It sets a variable called cmpOperation
Set(cmpOperation,"Edit")
I setup a custom property called varOperation on the component - Property type: Output, Date Type: Text
However when I try to assign cmpOperation to varOperation it says Name isn't valid - I have done this exact same thing for another component in the app and it works fine (wasn't part of a gallery if that's relevant)
It seems strange this works on one component but not another - is this a bug?
Solved! Go to Solution.
Update - bizarrely - although this generates an error - the variables actually work - so I guess this is just a glitch I can live with
Are you sure that is a "t" in cmpOperation name. It looks a little bit odd in picture.
Hello gabibalaban - yes its correct - just looks weird - as soon as I get to cmpO when typing it in - it already has no suggestions
Forgot to add mention in
Hello @gabibalaban - yes its correct - just looks weird - as soon as I get to cmpO when typing it in - it already has no suggestions
Update - bizarrely - although this generates an error - the variables actually work - so I guess this is just a glitch I can live with
Hello Everyone
I have the same Error. Do I just have to live with that or is there a fix for it? App seems to work fine, but I would like to clear all Errors before releasing it into production.
Best
Ben
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
197 | |
47 | |
43 | |
41 | |
36 |
User | Count |
---|---|
288 | |
81 | |
80 | |
79 | |
71 |