Skip to main content
Community site session details

Community site session details

Session Id : 3fNc/ORWb582CAb6JQnbiH
Power Apps - Building Power Apps
Answered

Bug? Gallery not shown when inside DataCard

Like (1) ShareShare
ReportReport
Posted on 8 Jun 2020 09:15:34 by 269

Hey everybody,

 

today I encountered a strange behaviour, which I didn't saw earlier.

I embedded a gallery control inside a datacard of a form and it is not showing any content. When I copy and paste it on the same level as the form, evrything is showing fine.

 

Is that a bug or intended behaviour? I thought I read something about placing galleries inside other controls, but couldn't find that now.

 

Categories:
  • Sajarac Profile Picture
    3,265 on 11 May 2024 at 16:42:11
    Re: Bug? Gallery not shown when inside DataCard

    Hola sĂ­ claro con gusto estoy por fuera pero mañana en la tarde te puedo ayudar. Mándame un mensaje por el privado con los detalles para estar preparado 

  • paulpena Profile Picture
    5 on 11 May 2024 at 16:18:37
    Re: Bug? Gallery not shown when inside DataCard

    Podrias ayudarme con un ejemplo, estoy intentando insertar una galeria dento de un datacard de un form pero solo funciona la galeria por fuera del formulario... quedo agradecido

  • paulpena Profile Picture
    5 on 11 May 2024 at 15:55:52
    Re: Bug? Gallery not shown when inside DataCard

    @cpadole  How to make this, can you show a example please.

  • cenixone Profile Picture
    6 on 22 Jan 2024 at 18:39:36
    Re: Bug? Gallery not shown when inside DataCard

    lol circled back on the same issue as well, I need to start documenting these glitch solutions

  • Sajarac Profile Picture
    3,265 on 10 Nov 2023 at 16:41:09
    Re: Bug? Gallery not shown when inside DataCard

    Hello, your solution partially work for me. Thanks for that. But in my collection I have several items and it is showing one. Any idea why? 

  • AlexN Profile Picture
    269 on 15 Sep 2023 at 11:51:40
    Re: Bug? Gallery not shown when inside DataCard

    Funny enough, stumbled over this problem today, googled it and dementia me was surprised the first link in google lead me to the question I asked 3 years ago 🤣

  • cescari Profile Picture
    15 on 16 May 2023 at 07:06:34
    Re: Bug? Gallery not shown when inside DataCard

    Hello everyone.

    I know it's been a while since this issue but I think I've found a solution for it that I'd like to share.
    The issue is that when you are working inside a form, there is already a connection running, so it seems that Powerapps is not able to handle a new one for the Gallery control, which you have set up inside the Datacard.

    The solution that is working well for me is:
    - Set in the OnVisible page's property a collection with Collect or ClearCollect, for the items you want to deal with or display in your Gallery.
    - Put inside the Datacard of the form, the Gallery control that you need to display.
    - Set in the Gallery's Items property, the name of the Collection.

    This sequence worked in my form from the very first moment without any problem.
    I hope it helps you all.

  • cpadole Profile Picture
    2 on 30 Jan 2023 at 10:06:36
    Re: Bug? Gallery not shown when inside DataCard

    Just try one thing make collection of data source on screen invisible property and use that collection as a data source of gallary..

  • ce469 Profile Picture
    5 on 30 Nov 2022 at 19:40:54
    Re: Bug? Gallery not shown when inside DataCard

    I am having this issue too but when i click on your link to see your posted solution i get "access denied". How can I view this?

  • Verified answer
    AlexN Profile Picture
    269 on 09 Jun 2020 at 06:42:32
    Re: Bug? Gallery not shown when inside DataCard

    Okay,
    so today starting a new day, I just thought "Just copy & paste the gallery from yesterday, which is now on the page outside the form back into the data card, just for a try." .... and now it's working. This is really strange behaviour.

    So what I did was:
    1. Add gallery to datacard (items property was from the beginning a sharepoint list and directly set in the gallery) -> did not show anything

    2. Copy & Paste the gallery on the page -> Everything works

    3. Copy & Paste into datacard -> doesn't work

    4. Leave the gallery outside the form

    5. Close app & Open app

    6. Copy & Paste the gallery into the data card -> works

    I didn't touch any property after the initial generation of the gallery... But thanks guys!

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started
Loading complete