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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

onchange

(0) ShareShare
ReportReport
Posted on by 69

Hey Guys , 

 

i have a powerapps that has a custom gallery and i have made the fields editable so the user can go change the values within the custom gallery. My Custom gallery is connected to a database, is there a way that when the user changes the the value or text within a field that it gets written back to the database straight away so like doing it with update on change maybe? i have tried it but i cant get it to work. is there a way to do it? 

 

Thanks in advance for the help ! 

Categories:
I have the same question (0)
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at
    You use the fields inside your gallery. So if you have a text box you update the onchange for that and use a patch function to write it to the DAtasource / collection.
  • Shafeel_07 Profile Picture
    69 on at

    so i have a custom gallery a text input field. in the onchange of the text input i have this code 

    OnChange: Patch( (datastouce) ,ThisItem,{Comments:ThisItem.Comments})

    when i write something in the gallery it doesnt update the value for that row.  what am i doing wrong ? 

  • Verified answer
    cwebb365 Profile Picture
    3,294 Most Valuable Professional on at
    Should be passing in the textbox.text to comment:
  • Shafeel_07 Profile Picture
    69 on at

    Thanks alot !! , that works now 🙂 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard