cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
twister
Post Partisan
Post Partisan

navigate is not suggested in OnStart (deep linking)

Dear All, suddenly my apps appear this message.. Im afraid to fix it due this apps already use by our users (production).. Hope somebody can advise my existing code/formula to translate and move to StartScreen.

 

Set(varAID, Value(Param("aID")));
If(varAID <> 0, Set(varRecord1, LookUp(sinc_main, ID = Value(varAID) And Office365Users.MyProfileV2().companyName = "ABC")));
//If(!IsBlank(varAID),Set(varRecord1, LookUp(sinc_main, ID = Value(varAID)));
If(
   Param("Screen") = "verify",
   Navigate(verifyScreen),
   Param("Screen") = "endorse",
   Navigate(endorseScreen),
   Param("Screen") = "finance",
   Navigate(financeView1)
);

 

twister_0-1640767399983.png

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

@twister ,

As the doc says, they are starting the process. I think there has been enough feedback to suggest all scenarios need to be covered before it is "turned off". One I have noticed is that navigation is often executed before OnStart runs fully meaning if you have a heap of Variables set with Lookups that may actually affect where you are navigating to, it is better to "drop the lot" and have a splash screen set on a timer doing it all for you . . . but I am sure this will all improve.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @twister ,

Ensure the setting below is set to On

WarrenBelz_0-1640767978333.png

but this is a temporary solution. Since the StartScreen (please have a good read of this document) function has been introduced, some time in the future, you will have to change the way you are navigating with Deep Linking. There are some more modifications coming, but in the meantime, the switch above will keep you running as normal. You can ignore the warning until all this changes.

If yiou want to experiment, you can move the Navigate to StartScreen and it will look like this

Switch(
   Param("Screen"),
   "verify",
   verifyScreen,
   "endorse",
   endorseScreen,
   "finance",
   financeView1
);

but be aware that some Variables set at App OnStart may be better moved to Screen OnVisible

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

twister
Post Partisan
Post Partisan

@WarrenBelznoted..im afraid this features will disable anytime (without any notice before fixing the issue) & of course will affect with my production apps..

@twister ,

As the doc says, they are starting the process. I think there has been enough feedback to suggest all scenarios need to be covered before it is "turned off". One I have noticed is that navigation is often executed before OnStart runs fully meaning if you have a heap of Variables set with Lookups that may actually affect where you are navigating to, it is better to "drop the lot" and have a splash screen set on a timer doing it all for you . . . but I am sure this will all improve.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

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 (1,683)