Hi,
I have a flow that uses expressions to populate different parts of html dynamically. What I am tring to do is have a bunch of HTML templates saved to a sharepoint doc library and the flow will get the file content of that html file and replace the expressions with what they are suppose to represent.
Example of what the contents of the HTML file in sharepoint looks like.
<table>
<tr>
<th>Pour Date</th>
<td colspan="3">@{body('Parse_JSON')?[0]['ResponseDate']}</td>
</tr>
<tr>
<th>Pour Number</th>
<td>@{body('Parse_JSON')?[1]['ResponseText']}</td>
<th>Pour Name</th>
<td>@{body('Parse_JSON')?[2]['ResponseText']}</td>
</tr>
<tr>
<th>Engineer</th>
<td colspan="3">@{body('Parse_JSON')?[3]['ResponseText']}</td>
</tr>
<tr>
<th>Sub-Contractor</th>
<td colspan="3">@{body('Parse_JSON')?[4]['ResponseText']}</td>
</tr>
<tr>
<th>Concrete Supplier</th>
<td>@{body('Parse_JSON')?[5]['ResponseText']}</td>
<th>Contact at the plant</th>
<td><job_workflow 1258183 value></td>
</tr>
So I would like the flow to auto populate the parts in bold.
Flow works fine when I just paste the html into a compose action, but since I could have over 100 different HTML templates I thought I could read the contents of the template into flow and it would populate the same way.