cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
protas
Helper I
Helper I

Leave Request Template - Email Template Issue

Hello All,

 

I am at my wits end. I am trying to modify the email template in "Leave Request Template"

 

 

 

 

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>
<a href="https://apps.powerapps.com/play/b3cee81a-5dc7-4e37-9405-ce883e231b88?tenantId=1f308002-370b-4d12-8543-a676bd57ee8e">
Click here to go to App
</a>
</body>
</html>"
)
);

 

 

 

 

 

I have added a link where manager can click and go directly to app. When I did that, it destroys the app. See screenshot below:

Capture.JPG

 

 

 

What I just basically trying to achieve is to add a clickable link to the app on the email being sent to the manager when a user applied for a leave.

 

Please help.

 

 

Thanks,

Eunar

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @vikulkar 

 

The code is correct. Here's how I was able to resolve. Apprently, you need to add the same code to ConfirmationScreen section

 

protas_0-1597691126396.png

 

protas_2-1597691240958.png

But thanks for the response as always.

 

 

Cheers!

 

Eunar

 

View solution in original post

2 REPLIES 2
vikulkar
Community Support
Community Support

Hello Protas,

 

This requires additional investigation and the issue is likely because the embedded code is missing/causing some issue in the App.

Few things that you can check is.

do you see the issue when you directly open the App?

Based on the screenshots, I believe that the navigation gallery is not showing up. Ensure that the gallery collection has all the collection items.

 

Thanks and Regards,

  Vikas

 

 

Hi @vikulkar 

 

The code is correct. Here's how I was able to resolve. Apprently, you need to add the same code to ConfirmationScreen section

 

protas_0-1597691126396.png

 

protas_2-1597691240958.png

But thanks for the response as always.

 

 

Cheers!

 

Eunar

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,497)