keirbowden / sigcapapp

Signature Capture Samples
MIT License
9 stars 5 forks source link

Post signature Action #31

Closed MRakizi closed 2 years ago

MRakizi commented 2 years ago

Hi,

I am using the Signature appExchange via a quick action and I'd like to close the popup automatically after signing. how can I perform that please ?

Regards.

keirbowden commented 2 years ago

Hello,

I've added a sample demonstrating this - if you check the README (https://github.com/keirbowden/sigcapapp#readme) you'll see an additional entry pointing you at the SignatureCapturedCloseAction.

Headlines - you'll need to add a listener for the SignatureCaptured event and when you receive that, fire a toast message and a force:closeQuickAction event. Make sure to fire the toast first, otherwise it won't go out. If you don't use a toast message, the action will still close but the user might not know why.

Cheers

--

Keir