gurvinder

Document Id Unique

0 votes
Hi There, I am working on creating a package with a document that has an Id assigned to it: .withDocument( newDocumentWithName( "Second Document" ) .fromFile( "src/main/Resources/document.pdf" ) .withId( documentId ) I was wondering if this Id needs to be globally unique among all packages? Or does it have to be unique only for that package? I want to use this Id to download the signed file later using the following function: byte[] pdfDocumentBytes = eslClient.downloadDocument(packageId, documentId);

Approved Answer

Reply to: Document Id Unique

0 votes
Hi Gurvinder, The document id has to be unique only within a package and this is valid for any ids you can manually set in eSignLive. The only id that is unique on an account level is the package id.
Haris Haidary OneSpan Technical Consultant

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