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!!

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,279)