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 / 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard