Hi All,
I have a working Leave Request App, I have used the template and changed the data source from Excel to Sharepoint. Everything is working fine.
I wanted to attach a link in the email where manager can redirect to this page directly and Approve or Decline the leave,

I am still using the default Email template from the app.
ClearCollect(EmailTemplate,
"<html>
<head>
<meta http-equiv=""Content-Type"" content=""text/html; charset=us-ascii"">
</head>
<body>
<p>
There is a leave request from: {SubmitterName} pending your approval. <ul><li>Type: {LeaveType}</li><li>Title: {LeaveTitle}</li><li>Description: {LeaveDescript}</li><li>Start Date: {LeaveStart}</li><li>End Date: {LeaveEnd}</li>" &
"</p>
</body>
</html>"
)
);
I tried to add the below code to the email tepmlate, but the app stopped displaying everything.
<a href="https://apps.powerapps.com/play/7c6e4d74-4f37-4c14-8439-b108388d73c2?tenantId=a45674ca-6ebb-4f37-8498-151d559ab4a2">
Click here to go to App
</a>
Please help, Thank you.