Renaming the Template - Using ApexToolKit


While I am sending my template for the user to sign. I want the template name to be updated with Templatename _ Contactname or Id. I am trying to use the withName method from envelope but it is throwing me some error. Method does not exist or incorrect signature: void withName(String) from the type dfsle.Envelope. 

Current scenario :: I have my docusign template uploaded in docusign site and am using that envelopeId to get the template in my apex class. But while I send the template, I want the template Name to have templateName_ContactName.

0 replies

Be the first to reply!