Question T12377
Visible to All Users

Exported pdf doesn't contain any image like logo or signature.

created 2 years ago

Hi,

When I export pdf, it doesn't include any image and there is no error in console. The wonder part is when I reprocess the json file again using same code, it includes images in exported pdf.

Does surveyJs store errors somewhere in this case or what can be the real issue here? How can I fix it?

I would appreciate your help.

Thanks,
Payal

Show previous comments (4)

    No problem, Payal. Please feel free to contact us if you have any questions.

      Hi Jane,

      When we create a pdf first time, we don't convert base64 string to any images. My apologies! I told you we convert base64 string into images and store into s3 buckets.

      So here is the process:

      • We create a form which has 3 or 4 signature boxes in it.
      • Send it to user
      • User fill out details and submit it.
      • On complete event, we generate a pdf and save it on s3 bucket

      We don't do any customization in this process of generating pdf.
      It looks like as below screenshot when it doesn't include signature.
      Clipboard-File-1.png

        Hello Payal,
        Thank you for the update. A signature is actually missing in your screenshot.

        I created a Plunker demo for your reference: https://plnkr.co/edit/Zv3Qpz1iKc1wLHWH.

        A demo survey contains a Signature Pad question. I subscribe to the onComplete function and export a survey to PDF. Please research the demo and let me know if it helps. If you require further assistance, please feel free to share a problematic example so that I can check.