cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dalacarelia_196
Post Patron
Post Patron

Powerapp HTML making PDF

Hi out there 

Iam building HTML to create a pdf file , i aam using Concat

Concat(skolgallery.AllItems;"
<tr font size="&"2"&">
<td font size="&"2"&">" & Skola & "</td>

 

An my result is only the first row in the table .
But hard coded tables everything is in the pdf file . 
Is it any stop to use tables looping out whe in comes to create PDF file . 

My result PDF file 

The first table Skola is my database driven and last is my hard coded . 

result.jpg

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@dalacarelia_196 

Your formula should be:

Concat(skolgallery.AllItems;
    "<tr font size=2>
        <td font size=2>" & Skola & "</td>
     </tr>"
)

You need to conclude your TR in your formula.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

4 REPLIES 4
RandyHayes
Super User
Super User

@dalacarelia_196 

Your formula should be:

Concat(skolgallery.AllItems;
    "<tr font size=2>
        <td font size=2>" & Skola & "</td>
     </tr>"
)

You need to conclude your TR in your formula.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Here is the code in my app


<table>
<tr>
<th>Skola </th>
<th >Program</th>
</tr>

</tr>

"&
Concat(skolgallery.AllItems;"
<tr>
<td>" & Skola & "</td>
<td>" & Program & "</td>
</tr>")
&"

</table>



Screendump inside the app on my tableintheapp.jpg

 

 

<table>
<tr>
<th>Skola </th>
<th >Program</th>
</tr>

 

"&
Concat(skolgallery.AllItems;
"
<tr>
<td>" & Skola & "</td>
<td>" & Program & "</td>
</tr>

")
&"

</table>

Thank you sir , a little put int the right direction and viola one <tr> to much  and problem solved .
🙂 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,209)