Hi PA veterans,
I am trying to create a flow:
Read From Responses > Apply to Each (Get Response Details > Compose > Create HTML file > Convert PDF > Save attachment to SP List).
Regarding the Compose action,
Q1: I'd like to create the following table using the code below but I always get a blank PDF at the end of the flow. I checked my codes on HTML Code - 𝗢𝗡𝗟𝗜𝗡𝗘 𝗪𝗘𝗕 𝗗𝗘𝗩𝗘𝗟𝗢𝗣𝗘𝗥 𝗧𝗢𝗢𝗟𝗦 (html-css-js.com) and it seems to work. Not sure why it's not working in the Compose action. Does anyone possibly know why?
Thank you.
1 | Invoice Type | ||
☐ Paid → Invoice Number(s): ☐ Unpaid → Invoice Number(s): | |||
2 | Invoice Owner | ||
Title Full Name Mobile Number (Mandatory)/ Office Number (Optional)
☐ External
☐ Internal
More info check: Website. | |||
Invoice Checklist | Date Completed | Additional Checklist | Date Completed |
Checklist 1 | Date | Name | Date |
Checklist 2 | Date | Name | Date |
Checklist 3 | Date | Name | Date |
4 | Comment | ||
| |||
5 | DECLARATIONS | ||
☐ I have read the …. | Signature:
NAME: DATE: | ||
☐ I have provided the…. |
NAME: Full name DATE: |
The table above in its HTML codes:
<table width="0">
<tbody>
<tr>
<td width="40px">
<p><strong>1</strong></p>
</td>
<td colspan="5" width="688.958px">
<p><strong>Invoice Type</strong></p>
</td>
</tr>
<tr>
<td colspan="6" width="728.958px">
<p><strong>☐</strong><strong> </strong><strong>Paid </strong><strong>→</strong> <strong>Invoice Number(s): </strong></p>
<p><strong>☐ </strong><strong> Unpaid </strong><strong> </strong><strong> </strong><strong>→</strong> <strong>Invoice Number(s): </strong></p>
</td>
</tr>
<tr>
<td width="40px">
<p><strong>2</strong></p>
</td>
<td colspan="5" width="688.958px">
<p><strong>Invoice Owner</strong></p>
</td>
</tr>
<tr>
<td colspan="6" width="728.958px">
<p><span> <strong> </strong>Title </span><strong> </strong><span>Full Name </span></p>
<span> Mobile Number (Mandatory)/ Office Number (Optional)</span>
<p> </p>
<p><strong>☐ </strong><strong><u>External</u></strong> </p>
<p><strong><sup> </sup></strong></p>
<p><strong>☐ </strong><strong><u>Internal</u></strong><strong> </strong></p>
<p><span> </span></p>
<p>More info check: <span><a href="https://www.abc.com/">Website</a></span>.</p>
</td>
</tr>
<tr>
<td colspan="2" width="209.384px">
<p><strong>Invoice Checklist</strong></p>
</td>
<td width="88.7879px">
<p><strong>Date Completed</strong></p>
</td>
<td colspan="2" width="186.79px">
<p><strong> Additional Checklist</strong></p>
</td>
<td width="243.996px">
<p><strong>Date Completed</strong></p>
</td>
</tr>
<tr>
<td colspan="2" width="209.384px">
<p>Checklist 1</p>
</td>
<td width="88.7879px">
<p><span>Date </span></p>
</td>
<td colspan="2" width="186.79px">
<p><span>Name </span><span> </span><span> </span></p>
</td>
<td width="243.996px">
<p><span>Date </span></p>
</td>
</tr>
<tr>
<td colspan="2" width="209.384px">
<p>Checklist 2</p>
</td>
<td width="88.7879px">
<p><span>Date </span></p>
</td>
<td colspan="2" width="186.79px">
<p><span>Name </span><span> </span><span> </span></p>
</td>
<td width="243.996px">
<p><span>Date </span></p>
</td>
</tr>
<tr>
<td colspan="2" width="209.384px">
<p>Checklist 3</p>
</td>
<td width="88.7879px">
<p><span>Date </span></p>
</td>
<td colspan="2" width="186.79px">
<p><span>Name </span></p>
</td>
<td width="243.996px">
<p><span>Date </span></p>
</td>
</tr>
<tr>
<td width="40px">
<p><strong>4</strong></p>
</td>
<td colspan="5" width="688.958px">
<p><strong>Comment</strong></p>
</td>
</tr>
<tr>
<td colspan="6" width="728.958px">
<p> </p>
</td>
</tr>
<tr>
<td width="40px">
<p><strong>5</strong></p>
</td>
<td colspan="5" width="688.958px">
<p><strong>DECLARATIONS</strong></p>
</td>
</tr>
<tr>
<td colspan="4" width="391.553px">
<p><strong>☐</strong><strong> </strong>I have read the ….</p>
</td>
<td colspan="2" width="337.405px">
<p><strong> Signature: </strong></p>
<p> </p>
<p><strong>NAME:</strong> </p>
<p><strong>DATE: </strong></p>
</td>
</tr>
<tr>
<td colspan="4" width="391.553px">
<p><strong>☐</strong> I have provided the….</p>
</td>
<td colspan="2" width="337.405px">
<p><br /><strong> Signature: </strong></p>
<p> </p>
<p><strong>NAME:</strong> <span><strong>Full name</strong></span></p>
<p><strong>DATE: </strong></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
Hi @Australia ,
Please try to remove all the 'colspan' property, maybe you need to redesign your HTML code.
I have made a test with your HTML codes.
Here is my Flow.
Result Screenshot:
<!DOCTYPE html>
<html>
<body>
<table width="0">
<tbody>
<tr>
<td width="40px">
<p><strong>1</strong></p>
</td>
<td>
<p><strong>Invoice Type</strong></p>
</td>
</tr>
<tr>
<td>
<p><strong>☐</strong><strong> </strong><strong>Paid </strong><strong>→</strong> <strong>Invoice Number(s): </strong></p>
<p><strong>☐ </strong><strong> Unpaid </strong><strong> </strong><strong> </strong><strong>→</strong> <strong>Invoice Number(s): </strong></p>
</td>
</tr>
<tr>
<td>
<p><strong>2</strong></p>
</td>
<td>
<p><strong>Invoice Owner</strong></p>
</td>
</tr>
<tr>
<td>
<p><span> <strong> </strong>Title </span><strong> </strong><span>Full Name </span></p>
<span> Mobile Number (Mandatory)/ Office Number (Optional)</span>
<p> </p>
<p><strong>☐ </strong><strong><u>External</u></strong> </p>
<p><strong><sup> </sup></strong></p>
<p><strong>☐ </strong><strong><u>Internal</u></strong><strong> </strong></p>
<p><span> </span></p>
<p>More info check: <span><a href="https://www.abc.com/">Website</a></span>.</p>
</td>
</tr>
<tr>
<td>
<p><strong>Invoice Checklist</strong></p>
</td>
<td>
<p><strong>Date Completed</strong></p>
</td>
<td>
<p><strong> Additional Checklist</strong></p>
</td>
<td>
<p><strong>Date Completed</strong></p>
</td>
</tr>
<tr>
<td>
<p>Checklist 1</p>
</td>
<td>
<p><span>Date </span></p>
</td>
<td>
<p><span>Name </span><span> </span><span> </span></p>
</td>
<td>
<p><span>Date </span></p>
</td>
</tr>
<tr>
<td>
<p>Checklist 2</p>
</td>
<td>
<p><span>Date </span></p>
</td>
<td>
<p><span>Name </span><span> </span><span> </span></p>
</td>
<td>
<p><span>Date </span></p>
</td>
</tr>
<tr>
<td>
<p>Checklist 3</p>
</td>
<td>
<p><span>Date </span></p>
</td>
<td>
<p><span>Name </span></p>
</td>
<td>
<p><span>Date </span></p>
</td>
</tr>
<tr>
<td>
<p><strong>4</strong></p>
</td>
<td>
<p><strong>Comment</strong></p>
</td>
</tr>
<tr>
<td>
<p> </p>
</td>
</tr>
<tr>
<td>
<p><strong>5</strong></p>
</td>
<td>
<p><strong>DECLARATIONS</strong></p>
</td>
</tr>
<tr>
<td>
<p><strong>☐</strong><strong> </strong>I have read the ….</p>
</td>
<td>
<p><strong> Signature: </strong></p>
<p> </p>
<p><strong>NAME:</strong> </p>
<p><strong>DATE: </strong></p>
</td>
</tr>
<tr>
<td>
<p><strong>☐</strong> I have provided the….</p>
</td>
<td>
<p><br /><strong> Signature: </strong></p>
<p> </p>
<p><strong>NAME:</strong> <span><strong>Full name</strong></span></p>
<p><strong>DATE: </strong></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
Best Regards,
Charlie Choi
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional