function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PatcsPatcs 

display signature in PDF

Hi All

 

My requriment is to display signature in PDF, so i have used canvas in html5 to capture the signature and display in UI. In UI it is working perfectly but when i convert the VF into PDF the image is not displayed. the image URL will start like this "data:image/png;base64,", when i searched in google there is an idea posted stating that the URL "data:image/png;base64," is not supported in PDF.

 

is there any alternate way to display the image in PDF, please let me know.

 

Thanks in advance!!!!

Best Answer chosen by Admin (Salesforce Developers) 
Mohith Kumar ShrivastavaMohith Kumar Shrivastava

IF you could capture that image and store in notes and attachment then it will be easy to get the signature on pdf .

 

I can help you here but you may need to capture the image and insert in a notes and attachment related to your custom object

All Answers

Mohith Kumar ShrivastavaMohith Kumar Shrivastava

IF you could capture that image and store in notes and attachment then it will be easy to get the signature on pdf .

 

I can help you here but you may need to capture the image and insert in a notes and attachment related to your custom object

This was selected as the best answer
PatcsPatcs

Hi Mohit

 

what you said is correct. i have resolved the issue.

 

Thank you so much!!!

Mohith Kumar ShrivastavaMohith Kumar Shrivastava

Please Mark it as solution if that helps so that it may help others .Thanks 

ggarciaggarcia

how did you get the signature canvas to work in VF?

Amal DominicAmal Dominic
Have you tried Ultra Signatures? This is a free tool, but has all the features that you find in a professional version. With Ultra Signatures you can quickly convert a PDF or Word document into gather electronic signatures, and share this document also. This has other features also, like Document Management, document merging, Workflow process, Custom Forms,  the nice thing is it has a free version with all these features but there is a limit on how many documents you can use in a month.