cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Run Button for OnStart in the ribbon

Hello,

 

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?

 

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas/status-key/Completed

 

Is this working for others?

3 REPLIES 3
v-monli-msft
Community Support
Community Support

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.

 

Regards,

Mona

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.
Anonymous
Not applicable

Hi  

 

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..

Anonymous
Not applicable

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,725)