I created a template in Docusign with multiple fields, one of them is a custom href field that opens a new tab to a custom application (). I want to be able to map the envelopeID as a query parameter into that url but I'm unable to do so in the UI, I'm setting the value of my field like this: =[[EnvelopeID]] but this doesn't work. Is there a workaround for this or do I need to do it another way through the Docusign API?
I created a template in Docusign with multiple fields, one of them is a custom href field that opens a new tab to a custom application (https://mycustomapp.com). I want to be able to map the envelopeID as a query parameter into that url but I'm unable to do so in the UI, I'm setting the value of my field like this: https://mycustomapp.com?envelopeID=[[EnvelopeID]] but this doesn't work. Is there a workaround for this or do I need to do it another way through the Docusign API?
Share Improve this question edited 2 days ago Larry K 49.1k15 gold badges91 silver badges145 bronze badges asked Feb 7 at 18:46 Manuel DuarteManuel Duarte 1,0408 silver badges27 bronze badges 3- Do you actually use the API to do any of this? When you do that, you get the envelopeID created from a template in your code, is that correct? – Inbar Gazit Commented Feb 7 at 19:41
- No API involved yet – Manuel Duarte Commented Feb 7 at 22:56
- First off, this forum (Stackoverflow) is for developers writing code, software engineers, so that's one thing. Second, what you're asking cannot be done without writing code and using the API – Inbar Gazit Commented Feb 7 at 23:41
1 Answer
Reset to default 1You'll need an API program to accomplish your goal:
- Create a Docusign webhook via their Connect feature to notify your app whenever an envelope is sent. See the envelope-sent event type.
- When your app is notified by the webhook, use the eSign API to update the custom href field link value in the envelope with the envelope ID.