web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Code Error

(0) ShareShare
ReportReport
Posted on by 79

I am working on this Power App to create a sketchbook and gallery based on this youtube video https://www.youtube.com/watch?v=vTYpcCQorRY. I am following it step by step. I am on the last two steps but it is not working. What am I doing wrong it is onSelect like she said and I followed it put there are errors. 

TheFlowState_0-1710946807801.pngTheFlowState_1-1710946812604.png

 

 

Categories:
  • TheFlowState Profile Picture
    79 on at

    TheFlowState_0-1710947081607.png

     

  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Can you show us the data in your gallery/collection. So the value that you're setting in your variable.

  • Verified answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    First thing I see is that you want need to change this: 

    DBO_DV_0-1710947301079.png

    into

    Set(selectedcolor, ThisItem.value)

    since in your table the value column is not written in capital.

     

    Also try to change the name of your variable, sometimes it gets wrongly saved in the cache and even though everything is fine you get these error codes. changing the name resolves that.

  • TheFlowState Profile Picture
    79 on at

    for which section do you want the code. I posted the code in the images above.

    TheFlowState_0-1710947456146.png

     

  • TheFlowState Profile Picture
    79 on at

    Why was it incorrect because of one space missing

  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Probably just the wrong cache. As soon as you set a value once in the variable power apps wont accept another datatype anymore for this variable... At least sometimes it doesn't. 

     

    Powerapps is a great tool but it still has it's buggy sides. Sometimes you just can't explain why it didn't work and by just recreating exactly like the first tile again it will work. 

  • Hariharan444 Profile Picture
    2 on at

    I'm making canvas app, i linked the data from the share point and if select send mail button the from details should be appeared in the mail on image mode, and enter the code but it not working, the only problem is that the selected.image only not working, can anyone let me know what to do.

     

    Hariharan444_0-1718961971300.png

     

     

    Note: The inside form value in datacard, need to send the data card values to send mail with image mode 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard