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 / Auto populate Form wit...
Power Apps
Answered

Auto populate Form with gallery selection from multiple screens

(0) ShareShare
ReportReport
Posted on by 71

Hi,

I am able to populate Form 1 fields on Screen 1 with gallery 1 list item however I wish to populate Form 1 fields with Gallery 2 list items available on screen 2 when user select list item from Gallery 2 and I want to repeat same action for populating Form 1 with Gallery 3 list item available on Screen 3.


We have following:
1 Form on Screen 1

4 Gallery control on 4 respective screens.

All 4 screens Gallery are connected to common data table.

 

 

On Screen 1 we have Form 1 and Gallery 1.

On Screen 2 we have Gallery 2 and no Forms

On Screen 3 we have Gallery 3 and no Forms

On Screen 4 we have Gallery 4 and no Forms

 

I wish to populate Form 1 control on Screen 1 with user selected gallery list item from gallery 1.

When user click on list item from Gallery 2 on Screen 2, then Form 1 should be populated with user selected list item from Gallery 2.

Example Screenshot is shared here:

multiple_Gallery_Data.png

 

When user select name Alexa or any other name from Screen 1 then Form 1 visible on Screen 1 will fill details of Alexa.

When user select name Sonam or any other name from Screen 2 then Form 1 visible on Screen 1 will fill details of Sonam.

 

I need help with:
Can we populate one form with gallery items from different screen?
Any suggestions or code snippets will be appreciated.
 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @BradAugustene ,

     

    Please try this:

    Set the OnSelect property of gallery1 and gallery2:

    Set(VariableName,ThisItem)

    Then set the item property of Form1:

    variableName

     

    Best regards,

    Rimmon

  • BradAugustene Profile Picture
    71 on at

    Hi There
    Thank you very much.
    Your proposed solution works perfectly fine.
    Appreciate your help. 

    👍👏

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