Hi everyone.
I want to print a report in which i have my gallery fields.
I would like to print a report, in which the fields are populated from this data. I have already created the HTML code but I would like to make the parameters dynamic, because so far I can't. but I ask you for a hand with another question: how can I create a button that says 'print this report for me', the only function I found was print (), which doesn't want parameters.
thank you for your attention,
Best regards
A.
Solved! Go to Solution.
Hi @AnVt44 ,
As long as you reference in a correct way, this should work in a ForAll loop as well.
Hi @AnVt44 ,
You can perhaps use string interpolation for this: https://www.matthewdevaney.com/strings-a-better-way-to-concatenate-text-strings-in-power-apps/
Basically you take your HTML code and insert the dynamic values:
$"Title: {txtTitle.Text} <br>
Description: {txtDescription.Text} <br>
Etc. Etc."
Hi @BCBuizer , thank you for the answer. Does it works also for a gallery with more rows? I mean, if i use function forall, does it work?
Hi @AnVt44 ,
As long as you reference in a correct way, this should work in a ForAll loop as well.
Thank you infinitely @BCBuizer, instead for the print problem, do you know the solution?
Hi @AnVt44 ,
I usually trigger a Power Automate flow and then use the Ondrive connector to create a PDF file.
There are some pretty good videos out there on the topic:
https://www.youtube.com/watch?v=pFlwYy8ijiA
https://www.youtube.com/watch?v=Da4do2DxmJE
User | Count |
---|---|
260 | |
122 | |
99 | |
48 | |
43 |