Skip to main content

Hi All,

We are currently implementing Docusign for Salesforce using the Docusign App Launcher.  Right now we have got it setup in Salesforce developer sandbox, connected to a Docusign developer/demo account.  We are specifically using Document Generation / Gen and eSignature.

We have setup a dedicated integration as per the Make a Standard Salesforce User Your Integration User article, which appears to work well for eSignature and we have no issues at all.     However, we have encountered a challenge with Document Generation / Gen resulting in an error:

Unable to create ContentDocumentLink for ContentDocumentId: 069S900000DzdJXXXX and SfObjectId: 500S900000IkmXXXX.

The error is raised when an end user (not the DS integration user) is attempting to generate a document based on a Docusign Gen Template from a Salesforce record.    Through experimentation the only way I can get it to be succesful for an end user is by granting the DS integration user “Modify All Data” system permission in Salesforce, which seems rather extreme and Im not very comfortable doing.    

I have tried “View All Data”, and “Query All Files”, and made sure record access is correct.   As far as I can tell, the issue is caused because DS for creates the initial ContentVersion/Document, but sets/changes the Document owner to the running end user, and then subsequently cannot relate the document (ContentDocumentLink) back to the original Salesforce record due to the DS user not being the document owner.

Nowhere in the Docusign documentation does it mention “Modify All Data” is needed by the DS integration user?  Has anyone else experienced this or know of a workaround/solution?

 

Thanks in advance.

Hi ​@peter.g
Thank you for raising this issue, and welcome to the Docusign Community!

I'm really sorry to hear about your experience, and thank you for taking the time to share it. I completely understand how frustrating it is when things don’t work the way you expect, especially when you're trying to get work done.

We suggest opening a support case so we can further investigate this matter. Thank you!
👉 Open a Support Case


Ma. Cassandra | Docusign Community Moderator
If this helped, don’t forget to click “Best Answer”!

 


Thanks ​@Ma.Cubio I have opened a case with DS Support as well.


Hi again, ​@peter.g !

That’s great to hear. If anything else comes up or you hit another roadblock, don’t hesitate to reach out here in the Community.

Wishing you a smooth rest of your day!


Ma. Cassandra | Docusign Community Moderator

 


Reply