cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Roystreet
Helper II
Helper II

Deep Link with 2 parameters

Currently I have a power app that onstart it checks the parameter for an ID, if the link has an ID it goes straight to a specific form and record, otherwise it goes to the welcome screen.  Is there a way to pass 2 parameters?  For instance I want to open a specific screen according to the ID, but if GTS_YesNo = true, I want to them to go to another screen, but still use the ID to pull that record, else go to a Home Screen if it doesn’t have an ID at all.

 

My reasoning is, if the GTS_YesNo = false, I want them to go the regular editing form, but if it’s true I want to open a form that’s like an “express version form” where only a couple of fields are available and not load all of the fields.  That “express” screen may just contain a patch form…Otherwise, if there’s no ID at all, just go tho the homescreen 


if it helps, it’s a canvas app connect to a SPO list

i hope I’m making sense here.  I’m still wanting to use the ID, but I want it to navigate to a different screen based in the GTS Value.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

@Roystreet ,

You can pass multiple parameters - just give them different names in the URL

https://yourpowerappsURL&IDRef=1&GTSYesNo=Yes

they would then be Param(IDRef) and Param(GTSYesNo)

 

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

4 REPLIES 4
WarrenBelz
Super User
Super User

@Roystreet ,

You can pass multiple parameters - just give them different names in the URL

https://yourpowerappsURL&IDRef=1&GTSYesNo=Yes

they would then be Param(IDRef) and Param(GTSYesNo)

 

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

Roystreet
Helper II
Helper II

So it would be similar to 

 

If ID <>0,

   If GTSYesNo = true,

     NavigateToForm1,

     NavigateToForm2),

 

   NavigateToWelcomeScreen)

 

Does that sound kinda right?

Hi @Roystreet ,

Pass a Text value

If(
   !IsBlank(Param(ID)),
   Set(
      gblID,
      Value(Param(ID))
   )
);
If(
   gblID > 0,
   If(
      Param(GTSYesNo) = "Yes",
      NavigateToForm1,
      NavigateToForm2
   ),
   NavigateToWelcomeScreen
)

 

 

Roystreet
Helper II
Helper II

@WarrenBelz  Thank you sir for your help…it has helped me greatly!

 

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,652)