Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Capturing signature images with signaturepad

curtisnelson
Kilo Explorer

We're using the Helsinki signature pad in our onboarding solution (to allow new hires to acknowledge documents), and we need to be able to capture an image of the signature and store in a separate database.   So far, all I can find are the points that make up the line segments of the signature (signature_image.data).   I noticed as I was playing around with the signature pad, that if I tested it by itself (not attached to a task), then looked in the signature_image table, there would be an attachment with the signature showing up.   Does anyone know what controls whether or not a signature image is generated?

Thanks,

Curtis

27 REPLIES 27

James,



The problem is somehow related how pop-ups are handled. Signaturepad does something, but I don't know what. On my work PC the Pop-us are displayed like this:


find_real_file.png


When I selected the signaturepad then all fields and links are getting removed.



On my home PC the pop-up is displayed like that.


find_real_file.png


On my home PC I have no problem. No field labels are being removed.  



Sorry, I don't have code. I am looking for a solution of this problem myself.



Armin


James,



With the line


GlideDialogWindow.get().destroy();//Close the dialog window



the signaturepad is not displayed at all.



Armin


Armin,


I have no way to trouble shooting your issue without viewing the code.


The destroy() code is make sure fully close the the signaturepad, before opening next one.



-james


James,



No code was changed. Here is the code for the UI Action.



//Display a dialog to collect a signature


function showSignaturePad(){


    gDialog = new GlideDialogWindow('signaturepad');


    gDialog.setTitle('Signature Pad');


    gDialog.setWidth(500);


    gDialog.render();


    return false;


}


Hi,



Did you ever get this resolved? I have the same problem. After some investigation I found that the "hint" handling is causing the problem. Every field in that form that has a pop-up will disappear. However, I have this problem on at my work PC and not at home. What I noticed is that my home PC displays pop-up differently than my work PC.



Armin