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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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:
  • Verified answer
    madlad Profile Picture
    2,637 Moderator on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard