Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 298 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 169

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading started