I've used a Gallery inside a Data Card before. With one of the latest releases, the Gallery is no longer selectable once its placed inside the Data Card.
Just a heads up. Not sure if you want that as a bug or not.
I was able to replicate your issue with these steps
Test 2: preload the gallery to see if
I am filing this as a bug. In the mean time, you can select controls in the left-hand panel and move them with the X and Y properties (do you already use relative positions?).
Thank you for looking into this. My work around was equivalent to yours:
I'm hip to "relative positioning" if that refers to:
If there is another use of the term i'd like to know! 🙂
Could you please share a bit more about the issue within your app?
I have made a test and the issue is confirmed on my side. When I select the Gallery control within the Data Card of the Edit form directly, I could not select the Gallery control.
Currently, as an alternative solution, we could select the Gallery control within the left tree view panel. Please check the following GIF image:
I have posted this issue to my product team, if the issue is solved, I would reply here.
Using a gallery inside a form card (or inside a card within the scrollable canvas) is not (nor has it ever) been supported. If you select a card, and try to insert a gallery on it (via the Insert menu), then it will not work (it will be placed outside of the form/canvas). This is a scenario that is not tested, and as such we cannot guarantee that it will continue working in the future.
The fact that you can bypass that limitation by copy/pasting a gallery inside a card is a bug in the product. It happens that this bug allows many people to do things that the product team never really intended to, but as I mentioned above, it may break in the future (although we'll try not to).
If you really believe this should be a supported feature, please consider creating a new entry in the PowerApps Ideas board, so that this will start being officially supported.
Because its possible, I didn't know it wasn't supported. Extending a Data Cards height property and inserting a Gallery is the only way I've found to put different data views in the center of a form.
What are some alternatives?
This is something that a few people have asked, and it's in the roadmap to be supported in the future, it's just that it's never been completely tested (because you cannot do it by inserting the controls directly).
Can you give more details about your scenario, and how you want to use the gallery inside the form? Is it a display or an edit form?
Hi @CarlosFigueira, I can give 2 examples of how I've used a Gallery inserted in the middle of a Form (Data Card):
My first app (I since changed the architecture):
Another (my current) example:
On a side note: Would be VERY awesome to insert "sections" into a Form. The method (hack!) I'm using now is:
Hope these use cases help.
Hello @CarlosFigueira. Here is another use case: Gallery inside a Card on a Scrolling Screen.
Since most sections of a scrolling screen are Cards, inserting a Gallery into one of these Cards faces the same issue (unable to select Gallery Controls while inside).
Hope this helps!
Check out these cool Power Apps & vote on your favorite!
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021