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 / Cant use SelectedItem ...
Power Apps
Answered

Cant use SelectedItem in my EditForm, when I want to give it a gallery

(0) ShareShare
ReportReport
Posted on by

Hello,

I want to press on my "edit idea"-button, and then the chosen Idea is getting opened in the editform to edit the submitted Idea again. But when I want to give the Item function of my Editform the SelectedItem the Code isnt working. What have I done wrong here? I used a gallery for the Edit Idea page

powerapps_problem2.jpg

powerapps_problem2.1.jpg

Categories:
I have the same question (0)
  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @RaphaelOpiolka ,

    why you are navigating on Screen 2 and using the SelectedItem on Screen1?

  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    are u coming from a gallery? then you need to set Gallery1.Selected in the Items property

     

    you need to rename to the name of your gallery

  • RaphaelOpiolka Profile Picture
    on at

    Hi @anandm08 and @mmbr1606 , Your solutions combined helped, and I made a mistake. Thank you very much!

  • Sam_Fawzi Profile Picture
    993 Super User 2026 Season 1 on at

    Hey @Ra ,

    In addition to the note from @anandm08  about the screens, you need to select the item first so you can use Gallery.Selected value. Try adding Select(Parent); at the beginning of the code.

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard