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 / How to trigger an acti...
Power Apps
Answered

How to trigger an action from a component

(0) ShareShare
ReportReport
Posted on by 236

Hi there

Just about every screen on my Canvas app needs a CRUD_Tray.

I have therefore created a CRUD_Tray Component (see attached image) to re-use in all our apps.

 

For the 'Edit', 'Add' and 'Cancel' buttons, I can simply update a variable to change the mode of the form(s) on each Screen.

 

However, I am struggling to use the 'Save' button. How do I trigger a 'submitform(FormName)' for the form that the component is related to?

CRUD_Tray.png
Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @MissingLink ,

     

    Please enable the enhanced component properties feature:

    vjefferni_0-1667891394128.png

     

    Next, you will be able to use Behavior property of a button control within a component.

     

    Tutorial:

    Power Apps Component With An OnSelect Property - Matthew Devaney

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard