Skip to main content

Notifications

Community site session details

Community site session details

Session Id : WmuZgH6hquaGeQIhsWthzO
Power Apps - Building Power Apps
Answered

Static Collection added to Gallery – Each item in Gallery a button (Tab) – Can’t display Form DataCards when Gallery item selected.

Like (0) ShareShare
ReportReport
Posted on 18 Jul 2023 11:21:30 by

Hi,

I have the following Collection called 'Tabs' in the 'OnVisible' property of a Canvas Screen;

PowerAppCollect.PNG

I have a Gallery within the Screen where its 'items' property is set to 'Tabs'

PowerAppsGallery.PNG

The Gallery options are listed correctly and I can click on each one. 

 

The problem I'm having is getting the DataCard, text label etc to show when I play the app. Below I can see the DataCard and label in Edit mode, but when it runs they are not there. I'll be hoping to set each DataCards visibility to a particular option on the left navigation (Gallery) and I've tried this but no joy. Does anyone know how to make certain DataCards witin a Form appear only when a certain option from a Gallery is selected? Thanks

PowerAppsForm.PNG

Categories:
  • Marty3012 Profile Picture
    on 18 Jul 2023 at 12:44:08
    Re: Static Collection added to Gallery – Each item in Gallery a button (Tab) – Can’t display Form DataCards when Gallery item selected.

    I tried all 3 and it worked! Thanks

  • Verified answer
    madlad Profile Picture
    2,637 Super User 2025 Season 1 on 18 Jul 2023 at 11:48:17
    Re: Static Collection added to Gallery – Each item in Gallery a button (Tab) – Can’t display Form DataCards when Gallery item selected.

    Hi!

     

    There's two things going on here I know of which can affect the visibility:

    1. You want the visibility of the data cards selected to be something like:

     

     

    Gallery5.Selected.Tab = *TabValue*

     

     

     

    2. For a form to display it's datacards, it must either be in New mode, or in Edit mode with a specified Item. This is changed via a forms Default Mode, or by using these functions

     

    Once both of these are accomplished it should function as desired.

     

    *EDIT: It's also worth noting that you must have a datasource connected to the form, or nothing will appear

     

    Hope this helps!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 32

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 19 Super User 2025 Season 1

#3
Rajkumar_M Profile Picture

Rajkumar_M 16 Super User 2025 Season 1

Overall leaderboard
Loading started