cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
theisogunro
Helper IV
Helper IV

Deeplinking parameters causing confusion in App

I have a SharePoint list being rendered through a PowerApp dataTable onto the page(shows a list of sharepoint items).  One of the columns is a link that takes the user to a pop-up showing the details of the single item that was selected, so updates can be made.

theisogunro_1-1627489408858.png

 

When I provide a link to the specific item using DeepLinking (https://play.apps.appsplatform.us/play/xxx83938?tenanteid=03923&requestID=59), I am successfully taken to that specific item.  Here's the issue I am facing, when I navigate away from the item back to the PowerApps page with the list of items and click on a different link, it still shows the item from the deeplinking.  I believe it's because the url doesn't change and my app is still referencing the item with reqeustID=59 which is in the URL.

How can I fix this?

Here's what I have on the App OnStart

 

 

Set(firstRun,true);
If(
    Value(Param("requestID")) <> 0,
    Set(
        itemID,
        LookUp('Registration', ID=Value(Param("requestID"))
     )
   );
   Set(firstRun,false);
   Navigate(EditScreen)
)

 

 

10 REPLIES 10

Yes, that's correct.  I want the app to use SelectedItem instead of the itemID

 

If(Value(Param("requestID")) <> 0, itemID, SelectedItem)

I will try your suggestion of adding the set when navigating away

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,070)