jnowakowski | Posts: 10

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
harishaidary | Posts: 1812

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();

jnowakowski | Posts: 10

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?

harishaidary | Posts: 1812

Reply to: Object IDs

0 votes
Unfortunately, you can't set the package id manually. That is done by eSL.

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