Trending Topics: Latest from our forums (March 2021)

Trending Topics

Here are some of the latest popular questions that the DocuSign developers community asked on Stack Overflow in the month of March 2021. You too can ask questions by using the tag docusignapi in Stack Overflow.

Thread: DocuSign API - Email Notification Settings

https://stackoverflow.com/questions/66451020

Summary: The developer is wondering if it’s possible to enable or disable the various emails that are sent from the DocuSign system to recipients: specifically, the email that is sent from the DocuSign system when the document is viewed by users and when the envelope is complete.

Answer: A DocuSign account administrator user can change these settings for the DocuSign account by going to the Settings and selecting Signing Settings and then reviewing the options for Envelope Delivery. There they can find options to send the completion email or to suppress emails to embedded recipients.

Envelope Delivery options

If the recipients are members of a DocuSign account, they can also go to their own Settings page in the DocuSign web app where they can find many more options for which emails they wish to receive from DocuSign.

Thread: DocuSign C# WebApi Error: 'Unexpected PEM type'

https://stackoverflow.com/questions/66496530

Summary: The developer is trying to build a C# ASP.NET Core application with the DocuSign eSignature REST API and is getting an error trying to authenticate using JWT. They are getting an error “Unexpected PEM type.”

Answer: There were two potential problems that caused the error. First, it’s critical that when developers create RSA keypairs, they copy the private key exactly as provided by the DocuSign system into the text file that would hold it for use by their application. Even the smallest change, will make the key invalid and cause the above error.

Second, inside your C# code when reading bytes from file you should be using the native method to read bytes without encoding with this code: System.IO.File.ReadAllBytes()

The developer was using this code: Encoding.UTF8.GetBytes(), which attempted to use UTF8 encoding on the provided RSA private key. This key is not encoded and must be read as raw bytes.

Thread: Dynamic Recipient from custom object field in Salesforce integrated with DocuSign

https://stackoverflow.com/questions/66469858/

Summary: The developer is using the DocuSign eSignature for Salesforce and the Apex Toolkit to create a custom button in their Salesforce organization to enable sending using a DocuSign template and would like the templateRole used to be set dynamically.

Answer: The developer can set up a DocuSign Envelope Configuration that uses a specific template and templateRole in their DocuSign eSignature for Salesforce environment by following the steps in this support article. These use the old button builder configuration to customize the template configuration related information for the button they are trying to create.

Additional resources

Inbar Gazit
Author
Inbar Gazit
Sr. Manager, Developer Content
Published