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.
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)
)
Solved! Go to Solution.
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
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
191 | |
67 | |
46 | |
41 | |
22 |
User | Count |
---|---|
252 | |
121 | |
84 | |
80 | |
73 |