Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Current »

1. Assign the Required Permission Set

  • Navigate to SetupQuick Find → Search for ‘Permission Set’.

  • Locate ‘Cloud Maven - DocGen & eSign – Admin’ and click on ‘Manage Assignments’ (as shown in the image).

  • Assign the permission set to the required users.

11.jpg

2. Create a Salesforce Site

  • Go to SetupQuick Find → Search for ‘Site’.

  • Create a new Salesforce Site, enter all required details as shown in the image, and click Save.

23.jpg

3. Grant Access to the Site Guest User

  • Use the Search bar to find site guest user.

12.jpg

4. Click on the site guest user, navigate to their Profile

13.jpg

5. Provide access to the following Apex Classes

  • docgen_esign.AutoPopulatedSigningScreenController

  • docgen_esign.SigningScreenController

  • docgen_esign.UtilityClass

14.jpg

6. Grant access to the following Visualforce pages:

  • docgen_esign.AutoPopulatedSigningScreen

  • docgen_esign.PDFESigningScreen

  • docgen_esign.PDFSigningScreen

27.jpg

7. Configure Custom Settings

  • Go to SetupQuick FindCustom Settings.

  • Click on Manage, then select ‘DocGen & eSign Configuration’.

15.jpg
  • Edit the following fields:

    • Logo URL: Add the client’s logo URL.

    • Organization URL: Enter the organization’s http://force.com domain.

    • Signing Link: Add the newly created Site URL followed by ?sign=.

    • Visualforce URL: Contact the Cloud Maven team for this value.

17.jpg

8. Add the ‘Generate Document’ Action

  • Navigate to Object Manager → Select the Source Object → Click on ‘Buttons, Links, and Actions’.

  • Click New Action and enter the required details.

18.jpg

Add the ‘Generate Document’ button to the ‘Mobile & Lightning Actions’ section of the Page Layout.

24.jpg

19.jpg

9. Save the PSPDFKIT credentials by executing the following script in the Developer Console (Execute Anonymous Window):

docgen_esign.AdminServices.saveDocGenCredentials('<Environment>','gVVsNwNx94rbZVReqxrbKmX3bp+w9zj21e3/trlAx5U=', '<Site License Key>', 'Vf Page License Key');

🔹 Note: Credentials will be added by the Cloud Maven team. Please contact them for further assistance.

🎉 Setup Complete!

DocGen & eSign has been successfully configured.

  • No labels