Signature Pad use in Catalog Items and relate it to ticket

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021 08:20 AM
Hi All,
I have created Add signature button on in Incident Form for testing the functionality.
I created a UI Action to show a button.
This is the configured UI Action
function SignRequest() {
var sysid = g_form.getUniqueValue();
var table = g_form.getTableName();
//Initialize and open the dialog
var dialog = new GlideDialogWindow("accept_signature"); //Instantiate the dialog containing the UI Page 'add_comments_dialog'
dialog.setTitle("Sign the Request"); //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(); //Open the dialog
}
It works perfectly. 🙂
The signature is accepted and stored in the signature_image table with a reference to the record. (with the signature as a attachment)
So far so good....
But i'm not sure how I can show the signature in the ticket record? (if possible in work notes or as a reference field showing the signature)
And my most important questions:
The main goal is to add this functionality to a Service Catalog Item which is used in a service portal by customers
Our goal is to:
- let customers sign a form when they pick up some goods.
- Add the signature as an image to the record (in the notes) so customer can see what is signed and by who)
- If possible send an email to customer with the signed form.
As part of the Catalog Item a employee of our company will fill a part of the form (with customer name, email address and some specific details) and hand over the digital form on a iPad to the customer to sign it.
Has somebody has any suggestion how to get achieves this?
I have not figured out how to add the "add signature" button on a specific Service Catalog Item.
(good to know i'm a newbie at coding/scripting)
I hope somebody can help
Thanks!
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021 08:36 AM
Hi,
Hope this link will help
Thanks,
Narsing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021 12:56 PM
I Think you referring to "yes you can easily use this in service portal, you just need to download the xml from the link above and import it using "retrieve update set" and extend the sc_cat_item or other widget in which you want to use it."
I have no experience in doing this, so if somebody can explain?
And are both covered?
- Add the signature as an image to the record (in the notes) so customer can see what is signed and by who)
- If possible send an email to customer with the signed form.