Build your own SIGN Butler experience from internal SFDC, Communities, Guest User Application forms, Sites, portals, … Sign Butler V2 API
See it in action:
Example of code for Lightning Web Component:
Notes for Guest User or unauthenticated usage: #
For this type of usage, it is better to use the same set as explained here: Field Service Lightning (FSL) – Embedded SIGN via FSL App
The example is about usage in the FSL App but the URL generated for Embedded Sign can be used from every application, so it can also be opened via Guest User Site. This URL will:
- Create the PDF to be signed
- Create the SIGN Request
- Forward to the signing page for the first signer
The creation of the URL can also be done via the APEX API (cadmus_sign2.SignButlerClientApi.getEmbeddedSignUrl) but then the User (Guest, Community/Experience, SFDC) have to have:
- SIGN Butler license
- Have permissions on all SIGN Butler SObjects: Community / Experience Cloud – Partner / Customer
- Have permissions on all SIGN Butler APEX classes. Use or copy from the “SIGN Butler User” permissionset
- Have SFDC sharing rules for Guest User to all SIGN Butler SObjects to be able to use the data (eg SIGN Request Template) required
If you do not want want to use the Embedded SIGN Url and use the code example above that generates the PDF first and then use this PDF to launch the Embedded SIGN. Then make sure that:
- PDF and SIGN Butler license is assigned
- All PDF and SIGN Butler SObjects permissions are set
- Have permissions on all PDF and SIGN Butler APEX classes. Use or copy from the”PDF Butler User” and “SIGN Butler User” permissionsets
- Have SFDC sharing rules for Guest User to all PDF and SIGN Butler SObjects to be able to use the data (eg SIGN Request Template) required.
- Have SFDC sharing rules for Guest User to all Salesforce data required to generate the PDF
