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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.