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
Jan Kopejtko 2Jan Kopejtko 2 

Digital signature - copy

This one is level: insanity. I'll try my luck anyways.

I have a Field Service Lightning mobile app. We take digital signatures and create service reports.

I need to copy those digital signatures after the user inputs them into the phone. I need to copy them and move them to another object related to Service Appointment, where the service report is saved.

Issue: Trigger on object DigitalSignature is not supported by Salesforce. Is there any other way how to do this?
Christan G 4Christan G 4

Hi Jan, I am not sure something like this could be supported via a trigger. You'll most likely have to create a mobile friendly Visualforce or lightning page to capture something like this. I researched and found another article similar to this. However, it worked mostly for desktops rather than mobile based on the comments. There should be a way though to make this mobile friendly. Unfortunately, I don't have much experience with JavaScript which seems to be the code that was used so I can't really help out much. I wish you all the best of luck! 


https://developer.salesforce.com/forums/?id=9060G000000Xb7jQAC

Andrew GAndrew G
if we check this link:
https://help.salesforce.com/articleView?id=fs_signature_guidelines.htm&type=5
there is a line that reads:
If you want to reuse signatures across all service report versions, contact Salesforce.

This enablement then allows you , from memory, to access the Digital Signature object using Apex code and reuse the signature.  

It was a while ago that I did this and don't have access to that org to review what we did, but this was the start point.

Cheers
Andrew