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 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,223 Super User 2025 Season 2 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

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard