web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / leave request email te...
Power Apps
Unanswered

leave request email template customization

(0) ShareShare
ReportReport
Posted on by 2

Hi

 

I am trying to find a solution but i can't. I am using the Leave request app and i want to display a link or a button in the approval email the manager gets. When he clicks on it he should be directed to the app. 

 

I am not a developer and whatever i tried it breaks the app

 

any help would be wonderful

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    To do this you need to do two things.

    1. The parameter that is the Body of the email needs to include the raw HTML code for a link.  Something like the code below.
    2. YOu also need to add a record as the last parameter of the sendmail. This iw where you can set things like CC, BCC, and importance. But there is also a switch that tells Sendmail that the body of the email is HTML. You need to turn that on. So the full line would look something like this.
      Office365Outlook.SendEmail(ApproverEmail,"Subject","<a href='
      https://apps.powerapps.com/play/84817853...'>test</a>",{IsHtml:true})​
  • zeibekis Profile Picture
    2 on at

    Thanks for the answer but i can't make it work.

     

    These are the changes i made

    zeibekis_0-1605515789795.png

    zeibekis_1-1605515875494.png

    zeibekis_2-1605515892813.png

     

    Any help

    And if you can in more detailed way 

     

    Thanks again

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard