cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Deeplink isn't finding correct ID

Hey all,

 

I've created an app where tickets can be created, once created an approver gets notified (by flow/mail).

In this mail I want to add a link directly to the ticket with: https://apps.powerapps.com/play/713e.....&ID=<IDnumber>

 

Then I have added this formula in the App-->On start property: If(!IsBlank(Param("ID")),Set(varID,Param("ID"));Navigate('My ticket',ScreenTransition.None)) .

 

"My ticket" is the gallery page where I can see all the tickets.

 

In the "My ticket" (gallery page) I have added the formula Onselect If(!IsBlank(Param("ID")),LookUp('Mysharepointlist',ID=varID));Navigate('Review page 1',none))

 

I've also tried to use this formula in the Item property, but then it gives errors and the tickets aren't showing.

 

Until now my link send my directly to the gallery page, but it doesn't forward me directly to the ticket ID.

So somehow I have to find a formula that navigates me directly to the Review page 1 with the correct ID.

 

Can someone help me?

 

Thanks!

Ramon

 

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III

Hi @Ramonnooijen If I am reading this correctly, I will offer the following. Firstly to "unlink" your gallery page

If(
   !IsBlank(Param("ID")),
   Set(varID,Param("ID"));
   Navigate('Review page 1',ScreenTransition.None),
   Navigate('My ticket',ScreenTransition.None)
)

Then this formula should be on the Item property of the Form on 'Review page 1'

If(
   varID>0,
   LookUp(
      'Mysharepointlist',
      ID=varID
   ),
   MyTicketGalleryName.Selected      //actual name of gallery
)
 

 

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.

View solution in original post

Highlighted
Community Support
Community Support

Hi @Ramonnooijen ,

Do you want to open a link and go to a specific ticket?

Firstly, the deep link should be like:

https://apps.powerapps.com/play/713e.....?ID=<IDnumber>

(weblink+?+ID=...)

For example: 

my app link is :https://apps.powerapps.com/play/xxxx

I want to pass an ID of 1

So the deep link should be:

https://apps.powerapps.com/play/xxxx?ID=1

Secondly, how to set in your app?

1)If you want to first view the gallery, then view the specific ticket:

set the app's OnStart:

If(!IsBlank(Param("ID")),Set(varID,Param("ID"));Navigate('My ticket',ScreenTransition.None))

 set gallery's Onselect:

Navigate('Review page 1',none))

set form's Item:

If(!IsBlank(Param("ID")),
   LookUp('Mysharepointlist',ID=varID),
   Gallery.Selected)

 //if ID is blank, the form will display gallery selected ticket. If ID is not blank, the form will display the specific ticket for ID in your deep link.

 

2)If you want to directly view the specific ticket when you open the deep link:

set the app's OnStart:

 

If(!IsBlank(Param("ID")),Set(varID,Param("ID"));Navigate('Review page 1',none))

 

set form's Item:

 

If(!IsBlank(Param("ID")),
   LookUp('Mysharepointlist',ID=varID),
   First('Mysharepointlist')
)

 

 //if ID is blank, the form will display the first ticket. If ID is not blank, the form will display the specific ticket for ID in your deep link.

 

To sum up, you need to do these things:

1)how to write deep link :add "?ID=..." after weblink

2)in your app, set app's OnStart: Param("ID") to get the value of ID

3) make the form to display one specific item, you need to set its Item to the specific record.

 

Here's a blog about deep link for your reference:

https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III

Hi @Ramonnooijen If I am reading this correctly, I will offer the following. Firstly to "unlink" your gallery page

If(
   !IsBlank(Param("ID")),
   Set(varID,Param("ID"));
   Navigate('Review page 1',ScreenTransition.None),
   Navigate('My ticket',ScreenTransition.None)
)

Then this formula should be on the Item property of the Form on 'Review page 1'

If(
   varID>0,
   LookUp(
      'Mysharepointlist',
      ID=varID
   ),
   MyTicketGalleryName.Selected      //actual name of gallery
)
 

 

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.

View solution in original post

Highlighted
Community Support
Community Support

Hi @Ramonnooijen ,

Do you want to open a link and go to a specific ticket?

Firstly, the deep link should be like:

https://apps.powerapps.com/play/713e.....?ID=<IDnumber>

(weblink+?+ID=...)

For example: 

my app link is :https://apps.powerapps.com/play/xxxx

I want to pass an ID of 1

So the deep link should be:

https://apps.powerapps.com/play/xxxx?ID=1

Secondly, how to set in your app?

1)If you want to first view the gallery, then view the specific ticket:

set the app's OnStart:

If(!IsBlank(Param("ID")),Set(varID,Param("ID"));Navigate('My ticket',ScreenTransition.None))

 set gallery's Onselect:

Navigate('Review page 1',none))

set form's Item:

If(!IsBlank(Param("ID")),
   LookUp('Mysharepointlist',ID=varID),
   Gallery.Selected)

 //if ID is blank, the form will display gallery selected ticket. If ID is not blank, the form will display the specific ticket for ID in your deep link.

 

2)If you want to directly view the specific ticket when you open the deep link:

set the app's OnStart:

 

If(!IsBlank(Param("ID")),Set(varID,Param("ID"));Navigate('Review page 1',none))

 

set form's Item:

 

If(!IsBlank(Param("ID")),
   LookUp('Mysharepointlist',ID=varID),
   First('Mysharepointlist')
)

 

 //if ID is blank, the form will display the first ticket. If ID is not blank, the form will display the specific ticket for ID in your deep link.

 

To sum up, you need to do these things:

1)how to write deep link :add "?ID=..." after weblink

2)in your app, set app's OnStart: Param("ID") to get the value of ID

3) make the form to display one specific item, you need to set its Item to the specific record.

 

Here's a blog about deep link for your reference:

https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted

Hi @Ramonnooijen ,

A couple of similar options here - please tag whichever you want to continue the thread with.

 

Highlighted
Advocate II
Advocate II

Hi @WarrenBelz & @v-yutliu-msft,

 

Thanks you both! With your answers I could fix my desired function!

It made me alot clear how to reference the links and how to use them in my app.

 

Thanks alot!

 

Ramon

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,869)