cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Deeplink in Office365Outlook.SendEmail Body

Hello.

I want to use deeplink in my SendEmail function

Like this:

 

Office365Outlook.SendEmail(
    ThisItem.'Created By'.Email,
    "Subject",
    "Here is a link to your item - " & 'Link to item' & "."

 

But when I get email there is a link to classic sharepoint list with big link like:

 

Here is a link to your item https://***.sharepoint.com/teams/*/_layouts/15/listform.aspx?PageType=4&ListId=e2fdda91-90ab-4bf7-88ae-cde2e889aad4&ID=13&ContentTypeID=0x010032D08B16B25B744495E3D220B1BEC3CA.

 

I want to get deeplink of my app and that it will have more pleasant view like Link 

For Example in Microsoft Flow I am using this solution for my deeplink to current item:

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Continued Contributor
Continued Contributor

Re: Deeplink in Office365Outlook.SendEmail Body

 

@ppl Yes, you absolutely can!

 

Office365Outlook.SendEmail(
    ThisItem.'Created By'.Email,
    "Deep Link",
    "Here is a <a href=https://powerusers.microsoft.com/t5/Building-Power-Apps/Deeplink-in- 
     Office365Outlook-SendEmail-Body/m-p/577430>link<a/> to your item",
    {IsHtml:true}
);

 

{IsHtml: true} is the savior!!

View solution in original post

4 REPLIES 4
Highlighted
Helper V
Helper V

Re: Deeplink in Office365Outlook.SendEmail Body

Do you want to link to a SharePoint list item in SharePoint or do you want to link to a PowerApp with the ID of a SharePoint list item?

Highlighted
Helper IV
Helper IV

Re: Deeplink in Office365Outlook.SendEmail Body

@max81 

link to a PowerApp with the ID of a SharePoint list item

Highlighted
Continued Contributor
Continued Contributor

Re: Deeplink in Office365Outlook.SendEmail Body

 

@ppl Yes, you absolutely can!

 

Office365Outlook.SendEmail(
    ThisItem.'Created By'.Email,
    "Deep Link",
    "Here is a <a href=https://powerusers.microsoft.com/t5/Building-Power-Apps/Deeplink-in- 
     Office365Outlook-SendEmail-Body/m-p/577430>link<a/> to your item",
    {IsHtml:true}
);

 

{IsHtml: true} is the savior!!

View solution in original post

Highlighted
Helper V
Helper V

Re: Deeplink in Office365Outlook.SendEmail Body

1. you need the link to the app: 

go on make.powerapp.com and have a look in the details of your app. There you find your Hyperlink for the app. 


2. attach a parameter to this link. Something like this:

“app...environmentId...appId“ & „&listId=“ & YourListID

 

3. in your App, maybe in „onstart“ evaluate the parameter with the param() function

 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,000)