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 / 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,609 Super User 2025 Season 2 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,609 Super User 2025 Season 2 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

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