cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pNabin
Advocate V
Advocate V

OnStart not visible when First Screen is Deleted

Is there a way to view OnStart anywhere after the first screen of the app is deleted?

I created app, in the first screen (Screen1) onStart is visible and I added different tasks when application is onStart. The result of onStart is visible into Screen2 as well.

When Screen1 is deleted, OnStart property is not visible in Screen2 however, the result coming from onStart is reflected into Screen2. Where can i see  OnStart now to view/change what it does?

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @pNabin@RusselThomas,

 

I just noticed that in the offical documentation, there is alreay explaination about this:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-screen

"

  • The OnStart property is actually a property of the app, not the screen. For editing convenience, you view and modify it as a property on the first screen of your app. If you remove the first screen or reorder screens, this property may become hard to find. In this case, save, close, and reload your app, and the property will reappear as a property of the 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.

View solution in original post

5 REPLIES 5
RusselThomas
Microsoft
Microsoft

Looks like a bug to me - can't see any way to reference it - it's clearly still there somewhere, but the interface doesn't cater for the OnStart property in anything but the original first screen.

v-monli-msft
Community Support
Community Support

Hi @pNabin,

 

I have reproduced this issue. I will report it to pg and see if they have any suggestions. Thanks!

 

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.
v-monli-msft
Community Support
Community Support

Hi @pNabin@RusselThomas,

 

I just noticed that in the offical documentation, there is alreay explaination about this:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-screen

"

  • The OnStart property is actually a property of the app, not the screen. For editing convenience, you view and modify it as a property on the first screen of your app. If you remove the first screen or reorder screens, this property may become hard to find. In this case, save, close, and reload your app, and the property will reappear as a property of the 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.

@v-monli-msft, Thank you Mona.

Actually 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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,655)