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 / 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?

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    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

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 765 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 272

Last 30 days Overall leaderboard