cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
praveencb16
Level: Powered On

Send approval email with link to powerapps detail item instead of sharepoint(data source) link ?

Can you please help.

I tried this link  https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/

But it only takes me to the main screen not the detail screen.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Send approval email with link to powerapps detail item instead of sharepoint(data source) link ?

Hi @praveencb16 ,

How do you send the approval email? Using Microsoft Flow?

Do you want the end user to click the link within the email body to navigate to Detail screen in your app?

Further, could you please share a bit more about the URL link you embedded within the email body? And the formula you used to retrieve the parameter values from the URL within your app?

 

Based on the needs that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. I assume that you use MS Flow to send an approval email, the URL link you embedded within the email body as below:

https://web.powerapps.com/apps/76897698-xxxx-b2de-xxxx-xxxx74f114f2?ItemID=5   /* <-Please replace 5 with parameter value passed from your app to your flow */

Note: The '76897698-xxxx-b2de-xxxx-xxxx74f114f2' represents the App ID of your app. Within above App URL link, you could specify the parameter value you want to pass to the app.

Then within your app, please take a try with the following workaround:

Set the OnStart property of the App control to following:

Set(CurrentItemID, Value(Param("ItemID")));  /* <-- Retrieve the parameter values (ItemID) from the App URL link */
If(
   !IsBlank(CurrentItemID),
   Navigate(DetailScreen, ScreenTransition.Cover)  /* <- DetailScreen represents the Detail Screen in your app*/
)

within your Detail Screen, set the Item property of the Display form to following:

If(
   !IsBlank(CurrentItemID),
   LookUp('YourSPList', ID = CurrentItemID),
BrowserGallery1.Selected )

The user @KH1 and @JD2301 have faced similar issue with you, please check my responses within the following threads:

https://powerusers.microsoft.com/t5/General-Discussion/Allowing-user-to-edit-response-to-an-already-...

https://powerusers.microsoft.com/t5/General-Discussion/Email-Notifications/m-p/183482#M60412

 

Please take a try with above solution, then check if the issue is solved. Also please make sure that you have typed proper formula within your app to retrieve parameter values from the App URL link.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Send approval email with link to powerapps detail item instead of sharepoint(data source) link ?

Hi @praveencb16 ,

How do you send the approval email? Using Microsoft Flow?

Do you want the end user to click the link within the email body to navigate to Detail screen in your app?

Further, could you please share a bit more about the URL link you embedded within the email body? And the formula you used to retrieve the parameter values from the URL within your app?

 

Based on the needs that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. I assume that you use MS Flow to send an approval email, the URL link you embedded within the email body as below:

https://web.powerapps.com/apps/76897698-xxxx-b2de-xxxx-xxxx74f114f2?ItemID=5   /* <-Please replace 5 with parameter value passed from your app to your flow */

Note: The '76897698-xxxx-b2de-xxxx-xxxx74f114f2' represents the App ID of your app. Within above App URL link, you could specify the parameter value you want to pass to the app.

Then within your app, please take a try with the following workaround:

Set the OnStart property of the App control to following:

Set(CurrentItemID, Value(Param("ItemID")));  /* <-- Retrieve the parameter values (ItemID) from the App URL link */
If(
   !IsBlank(CurrentItemID),
   Navigate(DetailScreen, ScreenTransition.Cover)  /* <- DetailScreen represents the Detail Screen in your app*/
)

within your Detail Screen, set the Item property of the Display form to following:

If(
   !IsBlank(CurrentItemID),
   LookUp('YourSPList', ID = CurrentItemID),
BrowserGallery1.Selected )

The user @KH1 and @JD2301 have faced similar issue with you, please check my responses within the following threads:

https://powerusers.microsoft.com/t5/General-Discussion/Allowing-user-to-edit-response-to-an-already-...

https://powerusers.microsoft.com/t5/General-Discussion/Email-Notifications/m-p/183482#M60412

 

Please take a try with above solution, then check if the issue is solved. Also please make sure that you have typed proper formula within your app to retrieve parameter values from the App URL link.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

praveencb16
Level: Powered On

Re: Send approval email with link to powerapps detail item instead of sharepoint(data source) link ?

Thanks Kris

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 407 members 4,608 guests
Please welcome our newest community members: