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!