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 / Gallery click icon, th...
Power Apps
Unanswered

Gallery click icon, then Popus Screen, show ThisItems.

(0) ShareShare
ReportReport
Posted on by 438

I'm trying to figure it out. I've set up a variable named 'varStudentTransactionHistory.' When the gallery displays the list, I want to click an icon, which will then open a popup screen to show the full information for the selected item using 'ThisItem'.

 

Screenshot 2023-11-07 131213.pngScreenshot 2023-11-07 131136.png

Categories:
I have the same question (0)
  • Ali_Sheraz_77 Profile Picture
    141 on at

    Hi, @dylandavis09 
    [

    Have you created this pop screen?

    if yes then use the code given below

    on the items property of form use this code 

     

    Gallery2.Selected

     

    Data source remain same for both gallery and form

    ]


    Please give a thumbs up if this information is helpful.

    Best regards,
    Ali Sheraz

     

  • dylandavis09 Profile Picture
    438 on at

    Yes, I did created: Set(varStudentTransactionHistory, true) then... (see below)

     

    "Student Name: "&Lookup_Transaction_History_Gallery.Selected.'Student Name'

    @Ali_Sheraz_77  

  • Ali_Sheraz_77 Profile Picture
    141 on at

    Then use this code on items property of form in which you want to show the selected student data 

    YourGslleryname.Selected

     

  • dylandavis09 Profile Picture
    438 on at

    Correctly?

    Student_Transcation_History_Gallery.Selected;Set(varStudentTransactionHistory, true)

     There has no error, seem worked. what's the next? 

  • Ali_Sheraz_77 Profile Picture
    141 on at

    try this code on items property of form

     

    Galleryname.Selected

     

     

    and set your variable on close button to set form close functionality 

  • dylandavis09 Profile Picture
    438 on at

    OK, which one that should I put in? I have a bit confused.

  • Ali_Sheraz_77 Profile Picture
    141 on at

    to show selected data from gallery we use just this code on items property of form

     

    Student_Transcation_History_Gallery.Selected

     

    we set variable on close button to close that screen use this  code on OnSelect property of close button

     

    Set(varStudentTransactionHistory,false)

     

     

  • dylandavis09 Profile Picture
    438 on at

    In the first picture is corrected with function. Then...

    Screenshot 2023-11-07 154306.png

     

    In the second picture, what function is supposed to be placed in it? Please give me a correct one. Click on "Student:" or what? I need to get steps more information.

    Screenshot 2023-11-07 154606.png

     

    Then, close icon is function:

    Screenshot 2023-11-07 154826.png

     

     

    HELP, @LaurensM@v-mengmli-msft@Rhiassuring 

     

  • Ali_Sheraz_77 Profile Picture
    141 on at

    @dylandavis09 

    it is very simple 

    first picture is ok 

    in second picture on form items property use this code

     

    Student_Transcation_History_Gallery.Selected

     

     like this image 

    Power-Apps (1) 222.png

     

    cancel icon is ok it will minimize the popup form

    Please give a thumbs up if this information is helpful.

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