cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ppl
Post Patron
Post Patron

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
ZabiBabar
Continued Contributor
Continued Contributor

 

@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
max81
Kudo Kingpin
Kudo Kingpin

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?

@max81 

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

ZabiBabar
Continued Contributor
Continued Contributor

 

@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

max81
Kudo Kingpin
Kudo Kingpin

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,616)