Hello,
I am attempting to create a PDF report from a screen in my Power app. To do this I have a couple items. The data I am exporting is located in the container Project_Summary_Report. In this container I have a sub container named Summary_Timeline_Container which has a gallery inside of it. This gallery has a HTML Text field with the following code I "borrowed" from a youtube video:
"<div
style='"&
"text-align:center;"&
"position: absolute;"&
"left: 50%;"&
"top: 50%;"&
"transform: translate(-50%, -50%) rotate(270deg);"&
"'>"&
ThisItem.Milestone_desc
&"</div>"
To Print my report I have an icon on the same screen header with the following vaule.
Set(
summary_doc,
PDF(
Project_Summary_Report,
{
Orientation: "Landscape",
Size: "Letter",
ExpandContainers: true
}
)
)
Finally, to download the file I have an attachment field with the flowing items: {name:Report_Type_Combo.Selected.Value&" report.pdf",Value:summary_doc}.
The end result is I get my document as expected including other HTML fields except for the HTML fields listed above. If I use the Print() function, I have all HTML text, but I also have my control headed. What would your suggestions be? I am hesitant to use Print() as it takes a few seconds to load all the data.
Screenshot of screen:

Screenshot of PDF:
