Trending Topics: Latest from our forums (January 2023)
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
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?
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:
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?
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.
<script src="https://demo.docusign.net/clickapi/sdk/latest/docusign-click.js"> <button onclick="docuSignClick.Clickwrap.render(...)">Click me</button>