I created a Power App that allows a user to fill out a form and submit the form to a Microsoft List. The user also can save the form as a draft in the Microsoft List as well. I created a Power Automate workflow that will send an email to the user with a link to resume the draft, but when the user clicks the link, it redirects them to an empty form. How do I create the Power Automate workflow or Power Apps code that allows the user to resume editing the draft when clicking the link within the email?
Solved! Go to Solution.
Hey @jwilso414
there is a function called "Param" in Power Apps that you can use on your app start. Put the parameter in your link you send to your user and on app start check if this parameter is used/set.
On App start your condition should look like:
if(
IsBlank(Param("ItemID")),
//NewForm(),
//EditForm()
)
The link that is send to the user should look like:
"https://apps.powerapps.com/play/<...>&ItemID=<Your dynamic Item ID>"
When the user click the link, on app start the app checks if this parameter is empty, if yes, do nothing/New Form/Navigation etc. and if it is filled, you send him to the existing Item using the unique MS Lists Item ID.
Hope this helps you!
Best regards
Marvin
If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.
Hey @jwilso414
there is a function called "Param" in Power Apps that you can use on your app start. Put the parameter in your link you send to your user and on app start check if this parameter is used/set.
On App start your condition should look like:
if(
IsBlank(Param("ItemID")),
//NewForm(),
//EditForm()
)
The link that is send to the user should look like:
"https://apps.powerapps.com/play/<...>&ItemID=<Your dynamic Item ID>"
When the user click the link, on app start the app checks if this parameter is empty, if yes, do nothing/New Form/Navigation etc. and if it is filled, you send him to the existing Item using the unique MS Lists Item ID.
Hope this helps you!
Best regards
Marvin
If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.
thank you! I was missing the OnStart part. Thank you so much!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
31 | |
29 | |
27 | |
18 | |
11 |