JaviOneSpan | Posts: 4

How can I remove the default document called Electronic Disclosures and Signatures Consent when I am creating the package with the java SDK

0 votes

 

I would like to delete the default document that the package has when it is created, How can I do that?

My java SDK version is: 11.33


Duo_Liang | Posts: 3776

Reply to: How can I remove the default document called Electronic Disclosures and Signatures Consent when I am creating the package with the java SDK

0 votes

Hi JaviOneSpan,

 

If you wish to remove the default consent from all newly created packages, you can contact our support team ([email protected]) and remove it from your account level. You can optionally send them your custom default consent and override the default one.

If only for certain packages, you can delete them after package has been created, but before sending, using below code:
        PackageId packageId = eslClient.createPackageOneStep(pkg1);                                  //create package in one step
        eslClient.getPackageService().deleteDocument(packageId, "default-consent");            //delete default consent
        eslClient.sendPackage(packageId);                                                                                //send package

 

Duo


JaviOneSpan | Posts: 4

Reply to: How can I remove the default document called Electronic Disclosures and Signatures Consent when I am creating the package with the java SDK

0 votes

 

Thank you!


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