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 / Referencing a button c...
Power Apps
Answered

Referencing a button control within a component from the calling app.

(0) ShareShare
ReportReport
Posted on by 149

Hello. This may be a dumb question, but I'm just getting started with components in Power Apps. I just built a  component that includes a button called "LoopButton." I want the app that uses this component to be able select that button in a formula, that is like Select(LoopButton) or Select(ComponentName.LoopButton). But my app doesn't have a direct reference to any controls inside the component, just to the custom properties I have defined. Is there a way to do this?  Can a custom input property be used for this?

 

Thanks!

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Baltner ,

     

    I made a sample for you.

    vxiaochenmsft_0-1678675914504.png

    vxiaochenmsft_1-1678675935841.png

    vxiaochenmsft_2-1678675945634.png

    vxiaochenmsft_3-1678675959497.png

    vxiaochenmsft_4-1678675976210.png

    vxiaochenmsft_5-1678675989406.png

     

    Best Regards,

    Wearsky

  • Baltner Profile Picture
    149 on at

    That's brilliant!  Thank you! 

    -Bruce

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard