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 / Deeplinking paramaters...
Power Apps
Answered

Deeplinking paramaters not working

(0) ShareShare
ReportReport
Posted on by 166

Hi , i'm using deeplinking with parameters to navigate to specific pages and records.

 

Case 1 :  i'm using this code in the onstart property to navigate to specific pages.

If(Param("Approvals") = "Test" , Navigate(AScreen ,ScreenTransition.CoverRight), If(Param("Approvals") = "Summary" , Navigate(SScreen,ScreenTransition.CoverRight)))      , the app always navigates to the AScreen ( which is correct if the Parameter approvals is test ,  but the same happens for if the parameter approvals is equal to summary.)

 

Case 2 : i'm trying to navigate to a specific record and a page , i have two parameters here.

If(Param("Approvals") = "ApprovalScreen" , Navigate(ApprovalsScreen,ScreenTransition.CoverRight) -  to navigate to a page

Set(varD , Param("SU"));

If(IsBlank(varD) ,Navigate(IScreen),Set(varSU , LookUp(datasource , RequestID = varD)) ; Navigate(SScreen,ScreenTransition.CoverRight)); - to navigate to a page and specific record.

 

Here , the second condition with parameter "SU" works and navigates me to the page and record correctly. But when i try to work with the Parameter approvals it always takes me to the starting screen of the app.

 

I'm sending links in a mail. Is powerapps restricted to only one parameter? 

Any help would be appreciated thanks!

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    HI @Gautham001 ,

    Maybe you want something like this - Case 1

    Switch(
     Param("Approvals"),
     "Test" , 
     Navigate(AScreen,ScreenTransition.CoverRight), 
     "Summary" , 
     Navigate(SScreen,ScreenTransition.CoverRight)
    )
    

    Case 2

    If(
     Param("Approvals") = "ApprovalScreen", 
     Navigate(ApprovalsScreen,ScreenTransition.CoverRight),
     If(
     IsBlank(Param("SU"),
     Navigate(IScreen);
     Set(
     varSU, 
     LookUp(
     datasource , 
     RequestID = varD
     )
     ),
     Navigate(SScreen,ScreenTransition.CoverRight)
     )
    )

     

    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.

  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    Hi @Gautham001 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • Gautham001 Profile Picture
    166 on at

    Hi @WarrenBelz  , sorry for the really late reply.

     

    But it's even worse now.  The link always opens up the starting page of the screen , no matter what value i pass in the parameter.

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

    Hi @Gautham001 ,

    This is a fairly simple process - you should not have to do this, but try

    With(
     {vApprovals:Param("Approvals")},
     Switch(
     vApprovals,
     "Test" , 
     Navigate(AScreen,ScreenTransition.CoverRight), 
     "Summary" , 
     Navigate(SScreen,ScreenTransition.CoverRight)
     )
    )
    

    Case 2

    With(
     {
     vApprovals:Param("Approvals"),
     vSU:Param("SU")
     },
     If(
     vApprovals" = "ApprovalScreen", 
     Navigate(ApprovalsScreen,ScreenTransition.CoverRight),
     If(
     IsBlank(vSU"),
     Navigate(IScreen);
     Set(
     varSU, 
     LookUp(
     datasource , 
     RequestID = varD
     )
     ),
     Navigate(SScreen,ScreenTransition.CoverRight)
     )
     )
    )

     

    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.

     

  • Gautham001 Profile Picture
    166 on at

    Hi @WarrenBelz  , so I tried this and no luck aswell.

     

    Also I'm facing this issue only I'm this app , the same logic works in every other app of mine .

     

    Any thoughts? 

     

    Maybe I should just recreate it.

  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    @Gautham001 ,

    A bit hard for me to comment further as the syntax should work providing your references are correct.

     

    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.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard