Trending Topics: Latest from our forums (January 2023)
See how our most popular recent threads on Stack Overflow can help you solve your own development issues.
Table of contents
Here are some of the latest popular questions that the Docusign developers community asked on Stack Overflow in the month of January 2023. You too can ask questions by using the tag docusignapi in Stack Overflow.
Thread: Docusign - Add pre-fill tabs through JSON marker
https://stackoverflow.com/questions/75066870/
Summary: The developer is attempting to use a composite template with pre-fill tabs to enable the envelope sender to update information on the envelope independently of any recipient.
Answer: At the time of publication, the pre-fill tab feature does not yet support composite templates. This enhancement is expected to be released in the future. As an alternative, this developer can do one of the following:
Add the pre-fill tabs directly to one of the server templates they plan to use.
Lock the tabs after the envelope is sent (read-only) and make an API call to update their values.
Add a special recipient for the purpose of filling these tabs.
Make an API call to add pre-fill tabs separately for the envelope that was created from the template.
Thread: How to get access token using refresh token in Docusign and PHP?
https://stackoverflow.com/questions/75182527/
Summary: This developer is using Authorization Code Grant and is interested in using the refresh token to obtain a new token without having to ask the user to log in to Docusign again. They are getting an error: unsupported_grant_type
.
Answer: Detailed instructions for obtaining a new access token using a refresh token can be found in this blog post. It’s important to encode the integration key (IK) and secret key correctly. Other things that may cause an issue is if the IK is set for Implicit Grant, if you’re not using the correct environment (prod vs. developer), or if the token has expired or was not correctly specified on the URL for the request.
Thread: how to open docusign clickwrap on a button click?
https://stackoverflow.com/questions/75154341/
Summary: The developer is attempting to embed an elastic template (formerly called clickwrap) in their website. They want it to show only when a user clicks a button, not right away.
Answer: By including the JavaScript from Docusign you enable your website to make a call to docuSignClick.Clickwrap.render()
, which will be used to show the elastic agreement. You could have this JavaScript run on an event handler for a button click, like this:
<script src="https://demo.docusign.net/clickapi/sdk/latest/docusign-click.js">
<button onclick="docuSignClick.Clickwrap.render(...)">Click me
</script>
Additional resources
Inbar Gazit has been with Docusign since 2013 in various engineering roles. Since 2019 he has focused on developer content. Inbar works on code examples including the launchers, available on GitHub in eight languages, and helps build sample apps showcasing the various Docusign APIs. He is also active on StackOverflow, answering your questions. Inbar can be reached at inbar.gazit@docusign.com.
Related posts