Has anyone ever used pdfset and n/render to merge ...
# suitescript
x
Has anyone ever used pdfset and n/render to merge PDFs?
e
Copy code
<#if traveler.attachments?has_content>
            <#list traveler.attachments as attachment>
                <pdf src='${attachment}'/>
            </#list>
        </#if>
attachment
is the url of the pdf in the file cabinet
r
I believe @alien4u has.
a
@ehcanadian The file in the file cabinet needs to be available without login or is not going to work with pdfset.
e
Correct
r
I just created a powershell script that wgot' pdftk. No one ever used it tho.
e
I've done this for a custom shop traveller where users could attach work instructions.
a
But I never used pdfset inside a pdf template, I don't think that would work, you need to do that with the render module...
x
@alien4u, the available without login bit fixed my issue. Thank you!!
a
You might be able to use the new “available company-wide” checkbox which has less security risk than available w/o login. I think you have to use slightly different syntax though to access it if you use that checkbox.
x
available company wide it fails again. So it has to be available w/o login
j
I’ve used <pdfset> in advanced PDF/HTML templates for transactions, so it does work outside of the render module