erictgrubaugh
08/11/2020, 11:36 PMN/render
and an XML file - as opposed to using an actual Advanced Template. It's a sizable report of varying datasets. No matter how large the dataset is, the resulting PDF is always truncated at exactly two pages. Anyone seen behaviour like this?erictgrubaugh
08/11/2020, 11:38 PMerictgrubaugh
08/11/2020, 11:40 PMalien4u
08/12/2020, 12:00 AMN/render
and many errors were fixed when using N/xml
alien4u
08/12/2020, 12:01 AMalien4u
08/12/2020, 12:02 AMTJ Cornelius
08/12/2020, 12:10 AMerictgrubaugh
08/12/2020, 12:17 AMTJ Cornelius
08/12/2020, 12:33 AMbattk
08/12/2020, 12:47 AMerictgrubaugh
08/12/2020, 12:52 AMtoView()
, where anything potentially invalid or XML-breaking (e.g. the URLs) is passed through xml.escape()
.tdietrich
08/12/2020, 1:16 AMmichoel
08/12/2020, 1:21 AMrenderer.renderAsString()
?erictgrubaugh
08/13/2020, 9:32 PMrenderAsString
output as well as saved the PDF file to the File Cabinet before emailing. In both cases, the content simply cuts off right in the middle of markup, e.g. <a href="blah">This is a link to somew
erictgrubaugh
08/13/2020, 9:33 PMerictgrubaugh
08/13/2020, 9:33 PMerictgrubaugh
08/13/2020, 9:34 PMerictgrubaugh
08/13/2020, 9:34 PMtdietrich
08/13/2020, 9:59 PMtdietrich
08/13/2020, 10:01 PMerictgrubaugh
08/13/2020, 10:09 PMerictgrubaugh
08/14/2020, 6:16 AMerictgrubaugh
08/14/2020, 6:16 AMerictgrubaugh
08/14/2020, 4:13 PMrenderAsString > xmlToPdf
with just renderAsPdf
to see if that makes a differenceerictgrubaugh
08/14/2020, 7:52 PMerictgrubaugh
08/15/2020, 5:09 AMpage-break-inside
attribute at every allowed level of the table with the same result. I've found several stackoverflow questions regarding the same issue, but none of the dozens of solutions provided to any of those questions have worked for me.tdietrich
08/15/2020, 11:40 AMerictgrubaugh
08/15/2020, 2:07 PMerictgrubaugh
08/15/2020, 4:26 PM<table>
wrapping. Second page was cut off just after a <p>...</p>
Now running a test with 10 paragraphs of static text at the front 🙂erictgrubaugh
08/15/2020, 9:15 PMerictgrubaugh
08/15/2020, 9:17 PM<p class="center"><a href="${p.smaUrl}">View in SMA</a> | <a href="${p.nsUrl}">View in NetSuite</a></p>
<!-- cuts off here -->
<p><strong>Records Processed:</strong></p>
erictgrubaugh
08/15/2020, 9:40 PMpage-break-inside="auto"
set on all my wrapping block elements (divs, etc)tdietrich
08/16/2020, 7:21 AMerictgrubaugh
08/16/2020, 2:15 PMerictgrubaugh
08/16/2020, 2:15 PMerictgrubaugh
08/16/2020, 2:17 PM