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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Microsoft Employee 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
    154,447 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard