I have an app which has a screen with Html text to concat a table from data tables within the app and this all works fine.
There is a button configure to email the table and display in the body of the email using the string below- There is an intermittent issue where upon pressing the button to send an email it will display the default Html text 'Show your HTML text here' even though there is no reference to this text in the html code. If I press the button again it sends the tables and display fine.
I have tried removing the screen and adding again to no avail. Is there a way I can add the output of the table as an attachment rather than the body without using flows or has anyone got any suggestion as to what the issue could be?
Office365Outlook.SendEmailV2("email address,"My Car Stock",HtmlText1.HtmlText)
Any help would be much appreciated.
Solved! Go to Solution.
@WarrenBelz Below is my code for the document I want to send via email. I am having trouble collecting this data using "ClearCollect(" and Sending the data as an attachment to an email. Any help would be great
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" & "<tr style='background-color:#efefef'> <th>StartDate</th> <th>FirstName</th> <th>LastName</th> <th>Community</th> <th>Position</th> <th>Supervisor</th> <th>Microsoft</th> <th>DropBox</th> <th>Concur</th> <th>Upkeep</th> <th>Eldermark</th> <th>EMAR</th> <th>SM</th> <th>MM</th> <th>Phone</th> <th>Laptop</th> </tr>" & Concat(Data, "<tr> <td>" & Date & " </td> <td>" & FirstName & " </td> <td>" & LastName & " </td> <td>" & Community & " </td> <td>" & Position & " </td> <td>" & Supervisor & " </td> <td>" & Microsoft & " </td> <td>" & DropBox & " </td> <td>" & Concur & " </td> <td>" & Upkeep & " </td> <td>" & Eldermark & " </td> <td>" & EMAR & " </td> <td>" & SM & " </td> <td>" & MM & " </td> <td>" & Phone & " </td> <td>" & Laptop & " </td> </tr>") & "</table>"
You can send that as the body of the email, but an attachment is a whole different subject and would involve creating a PDF and a Flow. Also this thread is closed, so please post it as a new one if you want to head down this track.
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Don't miss the call this month on June 16th - 8a PDT