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 Platform Community / Forums / Power Apps / How to I save value en...
Power Apps
Unanswered

How to I save value entered in a text box of a gallery to a column in a dataverse table

(0) ShareShare
ReportReport
Posted on by 90

 

Hi ,I have a dataverse table named  EmployeeData with column  Employee Full Name (Primary key coulmn ) along with many other columns displayed in gallery below,  I have another column "Comment"(multiline text column ) 

Nida_Sayedi_1-1700501992668.png

 

I want to add a text input in the above gallery against each record/line item so that  whatever the text/comment if  i write in that textbox for a particular employee record it should be stored in the Comments column.

 

What function do i need to write so that it saves data typed in all textinput boxes for those particular records and stores in dataverse table column(Comments)

Categories:
I have the same question (0)
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Nida_Sayedi,

     

    In case you want to instantly save the data after typing and exiting the Text Input you can use the OnChange property.

     

    (1) Add a TextInput control to your gallery

    (2) In the OnChange of that TextInput write:

    Patch(
     EmployeeData,
     ThisItem,
     {Comment: Self.Text}
    )

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @Nida_Sayedi, Try this, after adding a textinput control which will hold the comments for reach record, add another control may be button with display property as Save. The OnSelect of that would be:

    Patch(DATASOURCE, ThisItem, {Comments: TextInput.Text})

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard