Announcements
I have a Gallery inside a screen and this gallery is showing data from a sharepoint list:-
but if i move the Gallery (cut >> paste) inside a custom card on a form >> the gallery will not show any item:-
any advice?
Hello @johnjohn123
In the component's property, enable the Access app scope option. By default, components are isolated and don't have access to your app's data. And doing above gives them access to it.
@cha_cha thanks , but when i select the Gallery i do not get any option to set its scope?
Hello, do not select the gallery. You need to select the component.
@cha_cha the components are empty in my case
@johnjohn123
I'm really sorry, I'm out of it. Can you please show me the items property of your gallery?
@cha_cha i am showing the SP list
Really apologise with my previous response.
I just did a test in my environment and the pasting of the gallery should preserve the data source in the Item. Can you try reloading your PowerApps editor so that we can Eliminate the possibility of a cache issue.
This is what my test looked like.
Check the Items property of the Gallery after you add it to the custom card. Make sure it still points to your connection. Also, what is the data source and item setting for the form where the custom card is located?
I don't recommend keeping the gallery inside of a form as it may change it behaviours and create some unexpected bugs, but here is a link to the topic with a user who did have a similar experience and managed to sort it out.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Bug-Gallery-not-shown-when-inside-DataCard/td-p/588393
Hope this help and work for You.
Another update here:
It might be a bug?
(Test 1) I used an existing form and add the gallery to a DataCard, similar case to yours, No Data Appearing.
(Test 2)
I created a new screen, add a new form then put the gallery in a similar manner, it's showing as expected.
Can you try Test 2 on your end?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135