I'm creating a form that will be submitted and once submitted I've created a Power Automate flow that will email the user with the form results. I can't seem to determine how to create a link in that email that upon selection would take the user to a different screen in the form where they can add additional comments and upon submission, the comments would update the already submitted record.
I've tried a few things but still cannot seem to get the URL in an email to go to my other screen called 'feedback comments' where the URL contains the ID of the record and is directed to the 'feedback comments'. Thoughts?
Currently I am testing this formula but it negates the actual ID of the record submitted.
Office365Outlook.SendEmailV2("emailaddress", "TESTING","Here's the link to the feedback needed - https://apps.powerapps.com/play/b6a3d8c6-ef25-4a43-a82c-5e1c7f28135d?ID="&ID)
Hi @breed14 ,
I've tested at this end and all works as expected. Only difference is I've used an If function, rather than Switch.
I've saved and published the app, then used the link to activate Play mode, with the parameter value as feedback. The navigation occurs as expected to the Feedback screen:
https://apps.powerapps.com/play/e/b1d9f140-0e96-e141-86d2-6fcf3af392a4/a/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?tenantId=xxxxxxxxxxxxxxxxxxxxxxxxxx&screenname=feedback
This only works when the app is played, it won't trigger in Edit mode as no parameter is being passed. Perhaps try again by using If in your StartScreen property instead.
------------------------------------------------------------------------------------------------------------------------------
If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.
If my response was a good one, please give it a Thumbs Up!
Visit my blog: https://platformsofpower.net
Thank you for the insight. Unfortunately on the start screen navigate is recognized but not supported.
Hi @breed14 ,
Excellent work, you’re almost there!
I think your formula needs a slight tweak, you need to specify the Navigate function as that’s what will tell the app to move to a screen.
I’ve not done too much with the StartScreen property, but Maybe try updating your code in the StartScreen property to:
Switch(Param(“ScreenName”),
”feedback”, Navigate(Feedback Comments),
Navigate(Welcome Screen)
).
that should do it, if not, might be able to knock up a timer control that can handle the screen navigation, as I don’t think you can do it in the OnStart property anymore.
------------------------------------------------------------------------------------------------------------------------------
If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.
If my response was a good one, please give it a Thumbs Up!
Visit my blog: https://platformsofpower.net
Thank you for your response. I have the below but when I input into the URL &screenname=feedback the Welcome Screen still appears.
Hi @breed14 ,
a good way to do this is to use the Param function to absorb information, passed into the App via a URL.
your URL in the email will need to be constructed to include a parameter value that’s unique to the item, for example a SharePoint List ID.
then, when the app loads, use the Param function to identify if there’s been a value passed through. If there has, you can then programme some additional instruction - for example, navigate to a specific screen, that has an edit form which references the item in question.
https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-param
this is a concept otherwise known as deep linking. All the top content creators have covered this for us, here’s Reza’s video on how to set it all up:
hope that helps!
------------------------------------------------------------------------------------------------------------------------------
If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.
If my response was a good one, please give it a Thumbs Up!
Visit my blog: https://platformsofpower.net
MS.Ragavendar
32
Michael E. Gernaey
24
Super User 2025 Season 1
WarrenBelz
18
Most Valuable Professional