After looking through this group, I've tried putting my form in a vertical container and a putting it in a standard container within a vertical container as recommended and my page is still not printing when I run the app. The output on every attempt was the same, just the part of the form on the screen when I click on the PDF button.
The formula I'm using is: Set(varDE,PDF(Container4));DisputeExpertForms.Run("DEClients"&varDE&".pdf",{file:{name:"DEClients"&varDE&".pdf",contentBytes:PDF(DEClientsScreen,{Orientation:"Portrait",Margin:"0,0,0,0",Size:PaperSize.Letter,ExpandContainers: true })}}) I've also tried this using the form name instead of the container.
Is there anything else I can try?
Have you tried replacing the "DEClientsScreen" with the name of your container as well?
I ran into the same problem yesterday. The PDF function only printed the entire screen when I was in edit mode, but not if I used the app in play mode.
Using the container (in my case, it's a DataCard) instead of the screen fixed it for me.
In other words: PDF(ContainerName, {ExpandContainers: true}) was all I needed in order to print the scrollable area.
Stay up to date on forum activity by subscribing.