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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / components within a ga...
Power Apps
Suggested Answer

components within a gallery

(1) ShareShare
ReportReport
Posted on by 678
I've heard conflicting things. Can you add a component within a gallery. I've heard yes and no as long as you put it inside a container. I haven't got this to work, so what's the latest answer to this...
Categories:
I have the same question (0)
  • Suggested answer
    Garima_PowerPlatform Profile Picture
    170 on at
    Hi,

    In PowerApps, specifically in Canvas apps, you can add components within a gallery, but there are some important considerations and limitations:

    Yes, with limitations: You can add components inside a gallery, but they must be placed within a container (e.g., a Frame, Rectangle, or Custom Card) that handles the layout and interacts correctly with the gallery data context.

    Example:

    1. Add a Rectangle or Frame to your gallery.
    2. Inside the container, add components like a button, label, or input field.
    3. Bind these components to the ThisItem property of the gallery (e.g., ThisItem.ColumnName).
    Gallery:
      Items: YourGallery
      `Rectangle` inside the gallery:
        Fill: White
        Width: 100
        Height: 100
        `Button` inside the rectangle:
          Text: ThisItem.ColumnName
          OnSelect: Navigate(ScreenName, ScreenTransition)

    Please Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
  • Suggested answer
    sasrsc Profile Picture
    678 on at
    I found my answer...
    Canvas component overview - Power Apps | Microsoft Learn
    • You can't insert a component into a gallery or a form (including SharePoint form).

    Bummer...
  • FCosta Profile Picture
    4 on at
    @Garima_PowerPlatform, buttons, labels, or input fields are not Components, they are Controls.
    As replied by the OP, it is a known limitation that currently Components cannot be used inside of Gallery controls.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard