cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

OnStart Property not available on mainScreen item

How to display the OnStart Property for the mainScreen?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @LorencKoka 

 

Yes this has been moved to the App object

But it does the same thing as before

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

5 REPLIES 5
Dual Super User II
Dual Super User II

Hi @LorencKoka 

 

use the App in tree view to define ONStart

This is same as on start for main screen

onstart runs only once

 

Capture.PNG

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Super User III
Super User III

@LorencKoka 

If you want code to run when the app starts you can change the OnStart property of the app.  If you want code to run when a screen appears you can change the OnVisible property of the screen.

 

Does this answer your question?

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

Thanks Reza,

I noticed that this has been updated, 

The OnStart Property is now Application level and is not available anymore in the mainScreen. Instead is a property of the App item.

 

OnStart.JPG

Hi @LorencKoka 

 

Yes this has been moved to the App object

But it does the same thing as before

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Hi @LorencKoka ,

 

If you want some formula to trigger only on the first screen of your app, then you could put it in the OnVisible property of your first screen.

 

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.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (10,796)