Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alex Reyes 10 posts 30 karma points
    Nov 07, 2012 @ 14:43
    Alex Reyes
    0

    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')"/>

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 07, 2012 @ 14:46
    Darren Ferguson
    0

    You'd just pass a variable instead of the string literal 'Test.pdf'

     

  • Alex Reyes 10 posts 30 karma points
    Nov 07, 2012 @ 15:33
    Alex Reyes
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft