jnowakowski

Object IDs

0 votes
When submitting a document package, can I assign a package ID, document ID, signature ID, and signer ID, or are those values assigned by the e-SignLive system? Thanks.

Approved Answer

Reply to: Object IDs

0 votes
The package id cannot be modified. This is set automatically by eSignLive. Regarding the other ids you mentioned, here is an example on how you would set your document package:
DocumentPackage superDuperPackage = PackageBuilder.NewPackageNamed("Test Package .NET")
                    .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
                                .WithFirstName("Signer First Name")
                                .WithLastName("Signer Last Name")
                                .WithCustomId("Signer"))
                    .WithDocument(DocumentBuilder.NewDocumentNamed("myDocument.pdf")
                                  .FromStream(fs, DocumentType.PDF)
                                  .WithId("documentId")
                                  .WithSignature(SignatureBuilder.SignatureFor("[email protected]")
                                         .OnPage(0)
                                         .AtPosition(175, 165)
                                         .WithId(new SignatureId("signatureId1"))))
                    .Build();
Haris Haidary OneSpan Technical Consultant

Reply to: Object IDs

0 votes
Am I allowed to set the package ID when submitting a package, or will that value get overwritten by the eSignLive system?

Reply to: Object IDs

0 votes
Unfortunately, you can't set the package id manually. That is done by eSL.
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