download pdf link | XM Community
Skip to main content
Solved

download pdf link

  • May 20, 2025
  • 2 replies
  • 73 views

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+43

I have custom end of survey message AND below that we have response summary (by default containing the Download PDF button). Is their static link for this download pdf that i can pipe on my custom message as well. (Is this link generatable, may be by appending embedded fields).

 

@Tom_1842 do you have any suggestion here, thanks in advance :)

 

 

Best answer by Tom_1842

Hi ​@PeeyushBansal, while I am not sure of a way to generate that link, I think what you are trying to do can be accomplished by including a hyperlink in your End of Survey message and then adding JS to the Header that will click the existing "Download PDF" link when that hyperlink gets clicked. Try setting up your End of Survey message like the below:

Custom End of Survey Message. Click <a href="#" id="customDownloadLink">here</a> to download PDF.

And then add the below to your Header:

<script>
Qualtrics.SurveyEngine.addOnReady(function() {
    jQuery('#customDownloadLink').on('click', function(e) {
        e.preventDefault(); //
        jQuery('.DownloadResponsesPDF').first().trigger('click');
    });
});
</script>

 

2 replies

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 909 replies
  • Answer
  • May 21, 2025

Hi ​@PeeyushBansal, while I am not sure of a way to generate that link, I think what you are trying to do can be accomplished by including a hyperlink in your End of Survey message and then adding JS to the Header that will click the existing "Download PDF" link when that hyperlink gets clicked. Try setting up your End of Survey message like the below:

Custom End of Survey Message. Click <a href="#" id="customDownloadLink">here</a> to download PDF.

And then add the below to your Header:

<script>
Qualtrics.SurveyEngine.addOnReady(function() {
    jQuery('#customDownloadLink').on('click', function(e) {
        e.preventDefault(); //
        jQuery('.DownloadResponsesPDF').first().trigger('click');
    });
});
</script>

 


PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+43
  • Author
  • Level 6 ●●●●●●
  • 1171 replies
  • June 3, 2025

Thanks ​@Tom_1842 , I was looking for same.