Showing results for 
Search instead for 
Did you mean: 
Not applicable

Run Button for OnStart in the ribbon



I saw in the PowerApps ideas site that a 'Run button for OnStart' was added to the ribbon. While I have found it, I expected being able to click it in order to run the OnStart function, however that does not seem to be working for me?


Is this working for others?

Community Support
Community Support

Re: Run Button for OnStart in the ribbon

Hi @Anonymous,


If you need a button to trigger the OnStart property, then it's actually not OnStart. It's just the same thing as the OnSelect property does of the button control.


Whatever you want to achieve on the OnStart after selecting a button, you could achieve this by setting on OnSelect property of the Button directly.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

Re: Run Button for OnStart in the ribbon



No sorry I think you misunderstood. I know how the OnStart function works as well as the OnSelect function for buttons.

Let me give you an example:


OnStart:  ClearCollect(Collection, Datasource)

-> After OnStart is completed, app screen displays collection data in a gallery.


If I click 'preview' within PowerApps the OnStart function does not actually run. Therefore, in order to 'preview' properly including the OnStart function I create a button I can click that replicates the OnStart function in preview.


When I saw this 'idea' implemented I expected that the OnStart ribbon action allows me to click it and run the OnStart function - eliminating the need to replicate this using a button.


I hope this makes sense..

Not applicable

Re: Run Button for OnStart in the ribbon

adding @v-monli-msft back in to assist with this question

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,686)