web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Show Error for Using N...
Power Apps
Unanswered

Show Error for Using Navigate in OnStart

(0) ShareShare
ReportReport
Posted on by 55

Hello - I would like to launch my standalone PowerApp if user click the "Edit" from SharePoint list. I followed the instruction from this article. However, it's showing an error for using Navigate OnStart (see below).

 

If(!IsBlank(Param("ID")),Set(varID, Param("ID"));Navigate(FormScreen,ScreenTransition.Fade))

 

Do I need to use StartScreen instead of OnStart? and How do I rewrite the formula above using Navigate?

 

Thanks for your help.

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @YV1 ,

     

    Yes , please se the app's StartScreen property to:

    If(
     !IsBlank(Param("ID")),
     FormScreen,
     HomeScreen
    )

    And set it's OnStart property to

    If(!IsBlank(Param("ID")),Set(varID, Param("ID")))

     

    Best Regards,

    Bof

  • Verified answer
    WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @YV1 .

    @v-bofeng-msft is correct on the first one. These are instances where OnStart runs after StartScreen, so it may be better to put OnVisible of FormScreen. You will also need the Value() function as ID is a number.

    If(
     !IsBlank(Param("ID")),
     Set(
     varID,
     Value(Param(ID))
     )
    )

     

  • VV-05122257-0 Profile Picture
    55 on at

    Thank you all, it works to use Value() function.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard