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

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 I
Helper I

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 I
Helper I

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

 

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,682)