chris-joson-hcs | Posts: 2

Selectively disable Consent/Disclosure page when sending transactions

0 votes
We have several processes that use eSign and almost all use the default consent/disclosure page. However, there's just one use case where we need to disable the consent/disclosure page when submitting transactions. How do we do this via the ESL SDK? Thanks, Chris

Approved Answer
harishaidary | Posts: 1812

Reply to: Selectively disable Consent/Disclosure page when sending transactions

0 votes
Hi Chris, When creating your transaction, simply delete the consent document using the esl client. The default consent will always have "default-consent" as id. So you can run the following call:
eslClient.PackageService.DeleteDocument(packageId, "default-consent");

chris-joson-hcs | Posts: 2

Reply to: Selectively disable Consent/Disclosure page when sending transactions

0 votes
Hi Haris, appreciate the swift response. That code snippet worked perfectly. Thanks!

harishaidary | Posts: 1812

Reply to: Selectively disable Consent/Disclosure page when sending transactions

0 votes
No problem :)

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off