web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Static Collection adde...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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:
I have the same question (0)
  • Verified answer
    madlad Profile Picture
    2,637 Moderator on at
    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!

  • Marty3012 Profile Picture
    on at
    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard