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 / pre-fill a field with ...
Power Apps
Answered

pre-fill a field with a value I send while clicking on a button

(0) ShareShare
ReportReport
Posted on by 26

Hello,

 

I have a PowerApps application, connected to some SharePoint lists.

 

I have some buttons on a screen1 with values. In this screen1 the user can click on a specific button (the eye on the screen). That brings him on another screen.

The thing is that I have only one button, duplicated in a Galery:

Axel49_0-1676297590312.png

 

I want to pre-fill some field on screen2 according to the button he click (and so the ID he pick) on screen1.

 

First question: how to send a value depending the button he click?

Second question: how to pre-fill field with values that I send from another screen?

 

Thanks 🙂

 

 

Categories:
  • Verified answer
    BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Axel49 ,

     

    If the icon in inside the gallery, from the second screen you can reference the selected item in the gallery using GalleryName.Selected.

     

    So if you have a label on the second screen which you want to display the 'ID Demande', you set its' Text property to:

     

    GalleryName.Selected.'ID Demande'

     

     

    In the above you may have to change the identifiers(GalleryName and 'ID Demande') to match the gallery and column names you are actually using.

  • Axel49 Profile Picture
    26 on at

    Thanks a lot!! It works perfectly!!

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 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard