Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I've enabled the force-download feature of PDF Creator but I can't seem to assign the value (from xsl:param) properly. Can you show me how to do that particular task?
<xsl:value-of select="FergusonMoriyama.Pdf.XsltHelper:AppendResponseHeader('X-Pdf-Force-Download', 'Test.pdf')"/>
You'd just pass a variable instead of the string literal 'Test.pdf'
That did the trick. I've also found a snippet that does just that.
http://blog.vizioz.com/2010/11/creating-pdf-documents-dynamically.html
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to make the PDF filename dynamic?
Hi,
I've enabled the force-download feature of PDF Creator but I can't seem to assign the value (from xsl:param) properly. Can you show me how to do that particular task?
<xsl:value-of select="FergusonMoriyama.Pdf.XsltHelper:AppendResponseHeader('X-Pdf-Force-Download', 'Test.pdf')"/>
You'd just pass a variable instead of the string literal 'Test.pdf'
That did the trick. I've also found a snippet that does just that.
http://blog.vizioz.com/2010/11/creating-pdf-documents-dynamically.html
is working on a reply...