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 / Copy/Display values fr...
Power Apps
Unanswered

Copy/Display values from popup text fields to the selected gallery item text field

(0) ShareShare
ReportReport
Posted on by 17

Hello All,

 

Please me with the below requirement:

 

I have a gallery named Gallery7_1, and there is a column called Header1.

In the Header1 column, there is a text field and a button (when clicked on it popup appears). In the popup window, there is one there is one text field and a button.

 

Now what I want is, I want to copy that popup text field data to the selected gallery item at the click of a button.

 

I have tried multiple ways but have not succeeded.

 

Please share your responses as soon as possible.

 

@powerapps 

Categories:
I have the same question (0)
  • BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    on the button which opens popup get selected item details into local variable

    Select(Parent);
    UpdateContext({selectedItem: ThisItem})
    //open popUp

    To Patch data from popup back to selected item use patch like below

    Patch(yourGalleryItemsCollectionSource,selectedItems,{fieldName:textbox1.Text})
  • arushi_chitran Profile Picture
    17 on at

    I am using below formula on the button which opens popup:

    UpdateContext({selectedItem: ThisItem})

     

    and below formula I am using to copy the data to my selected gallery textinput field:

    Patch(Gallery7_1.Selected,TextInput2.Text,{'How the benefits administration is happening ? Detail process':textbox3.Text})

     

    Here: Gallery7_1 is the name of my gallery,

    Textinput2 is the text field on the popup screen from where I have to copy the data.

    How the benefits administration is happening ? Detail process' this is the name of the field in the gallery

    textbox3.Text is the text field present in the gallery where the final content will be displayed.

     

    But this is not working.

     

  • BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    I am not sure what is there in the items property of your gallery. But I assumed that is field which is data about textbox3.Text .

    On Default property of your text box control

    ThisItem.'How the benefits administration is happening ? Detail process'

    With this you can patch data from popup to your field and it will reflect in your text box like below

     

    Patch(DataSourceOfGallery,selectedItems,{'How the benefits administration is happening ? Detail process':Textinput2.Text}) 
  • arushi_chitran Profile Picture
    17 on at

    Sorry but it's not working.

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
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard