How to Disable "Type signature" from the E-signature pad

Kachu
Kilo Sage

find_real_file.png

As you can see  our requirement is to have Draw signature disable" type signature.

 Do any one know how to do this ?

2 REPLIES 2

michaelj_sherid
ServiceNow Employee
ServiceNow Employee


@Kachu  The 'Type signature' functionality is preset in a number of items and there isn't a property/configuration to toggle it on/off. Depending on where you are looking to disable the 'Type signature' option, you would need to customize different UI Pages or Service Portal Widget to manually comment out its logic.

Please note that these are not the only widgets/UI Pages that contain the Draw Signature functionality. Here is a list of other items used in other parts of the platform that you might want to review/update (NOTE that this list might not be comprehensive):

UI Pages:
https://instance_name.service-now.com/sys_ui_page_list.do?sysparm_query=htmlLIKEdraw-it&sysparm_view=

Portal Widgets
https://instance_name.service-now.com/sp_widget_list.do?sysparm_query=templateLIKEdraw&sysparm_view=

Please, remember that any such changes would be considered customizations and would be skipped during future upgrades.

 

Regards,

Mike

harshav
Tera Guru

you can pass the parameter dialog.setPreference('sysparm_draw_only', 'true'); in your UI action or script that is calling the dailog. 

    var dialog = new GlideModal("accept_signature"); //Instantiate the dialog containing the UI Page 'add_comments_dialog'
    dialog.setTitle("Sign the incident"); //Set the dialog title
    //dialog.setPreference('sysparm_draw_only', 'true');
    dialog.setPreference("sysparm_document_id", sysid); //Pass the comments into the dialog
    dialog.setPreference("sysparm_table_name", table); //Pass in a short description for use in the dialog
    dialog.render();