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 / Populating a view form...
Power Apps
Suggested Answer

Populating a view form with a selected item in a gallery that populated by Switch command for data.

(1) ShareShare
ReportReport
Posted on by 6
I am new to power apps, I have a combo box that the users pick what SharePoint list they want to view in the gallery. Since I am using Switch in the gallery to populate the chosen list I am not sure how to get the form to show all details of the selected item in the gallery. Any help would be amazing.
Categories:
I have the same question (0)
  • Suggested answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
    Hi,
     
    On the OnSelect property of the Gallery store the selectedItem:
    Set(SelectedListItem, ThisItem)
    And then show the Selected item in Form.Item:
     
  • BOMBJosh Profile Picture
    6 on at
    SpongYe, thanks for the option, for some reason that is not working, I tried putting that in the data section as well, but still didn't work
     
  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
    Could you share more information and screenshots what you doing?
  • BOMBJosh Profile Picture
    6 on at
    Because it is for work and is connecting to SharePoint lists with sensitive info I can't do screen shots.  I was able to copy the switch code from the gallery into the data source in the form view and 3 of the fields out of the 30 are populating, so now to a new problem 🫠. Thank you for responding and trying to 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

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard