Hello,
I have an issue.
I have been using flows to send emails to users. In the email would be a hyperlink to the powerapps application with a query string on the link. These links have suddenly begun to have different behavior. I would use the value on the query string to LookUp a record in a SharePoint list.
Expected behavior that has been working until recently was that after clicking the link the application would open up to the correct screen and display the correct item based on ID. Instead, now when I click the link the application opens up to the oldest record (The lowest number ID). The URL has the correct query string in all cases, yet the powerapps LookUp() isn't retrieving the correct record. It users the oldest record in the SharePoint list for whatever reason. Let's look at some code to get a better feel of what I'm trying to say.
<a href="https://web.powerapps.com/apps/xxxxxxxxxxxxxxx?ItemID={DYNAMIC ID FROM FLOW INSERTED HERE}">Link to app</a>
A flow generates the above link and emails a user. The user clicks the link. The ?ItemID={Dynamic ID} is making use of flow dynamic properties. The ID relates to the automatically generated SharePoint ID for every record.
When the user navigates to the application -- the screen BrowseScreen1 has this code on the property "OnStart".
If(IsBlank(Param("ItemID")), Navigate(BrowseGallery1, ScreenTransition.Fade) ,Navigate(DetailScreen1, Cover, {device:LookUp(ECTCR_Tracking, ID = Value(Param("ItemID")))}))
That code has been working all day. Then suddenly after lunch, it has stopped. I have not messed with the code in between. So I would just like a little help understanding what is happening.
Thanks for the help.
Hi @Anonymous,
Could you share more detailed information about the flow configuration also the app's?
Regards,
Mona
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional