Hello,
I am looking for proper guidance on creating an embedded signature in an LWC component?
Hello,
I am looking for proper guidance on creating an embedded signature in an LWC component?
Hello
Thank you for reaching out here in Docusign Community.
To create an embedded signature in a Lightning Web Component (LWC), follow these steps based on the provided context:
force-app/main/default/classes
folder, right-click on classes
, and select SFDX: Create Apex Class
.dfsle.EnvelopeService.getEmptyEnvelope
method to create an empty envelope.dfsle.Document.fromTemplate
.dfsle.Recipient.newEmbeddedSigner
for embedded signing.withRecipients
method.dfsle.EnvelopeService.sendEnvelope
.force-app/main/default/lwc
folder, right-click on lwc
, and select SFDX: Create Lightning Web Component
..js-meta.xml
file and set the isExposed
field to true
. Add targets for lightning__AppPage
, lightning__RecordPage
, and lightning__HomePage
.sendEnvelope
and getEmbeddedSigningUrl
methods from your Apex class.handleClick
method to call sendEnvelope
, retrieve the embedded signing URL, and redirect the browser to that URL.force-app/main/default
folder, right-click on default
, and select SFDX: Deploy Source to Org
.By following these steps, you will be able to create an embedded signature process within your LWC component.
If you found the response to be a useful solution to your question, please mark it as the best answer by clicking “Select as Best” to make it easier for other users to find.
Best regards,
Marco Paulo | Docusign Community Moderator
Hello
I hope you are doing well.
I want to confirm if you were able to solve your issue by utilizing the suggested solution or if the information provided was useful.
If so, please mark it as the "Best Answer " by clicking “Select as Best” to make it easier for other users to find.
Otherwise, let me know and I will gladly help you address the situation as soon as possible.
Best regards,
Marco Paulo | Docusign Community Moderator
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.