Create Package without signature
Friday, October 9, 2020 at 03:01amHello,
I want to create a package without a signature.
So Users can only view the document and download it.
Thanks
Hello,
I want to create a package without a signature.
So Users can only view the document and download it.
Thanks
Reply to: Create Package without signature
Friday, October 9, 2020 at 09:52amHi Priyanka9960,
If a recipient was required to review and download the package without actually signing, then this recipient is called "Reviewer" in OneSpan Sign. However, you CANNOT create a completely review-only package, which is to say, at least one signer (or the sender him/herself) needs to sign.
It's very straightforward to add a reviewer to a package - add the signer, but don't assign any signatures to the person:
.WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
.WithFirstName("John")
.WithLastName("Smith")
.WithCustomId("reviewer1"))
But as stated above, you need at least one signature, in which case, one of the options you can follow is to assign accept-only signatures to the sender, and progrommatically sign on behalf of the sender (guide here):
DocumentPackage package = PackageBuilder.NewPackageNamed("Test Package")
.WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
.WithFirstName("sender first")
.WithLastName("sender last")
.WithCustomId("sender"))
.WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
.WithFirstName("John")
.WithLastName("Smith")
.WithCustomId("reviewer1"))
.WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]")
.WithFirstName("Mary")
.WithLastName("Smith")
.WithCustomId("reviewer2"))
.WithDocument(DocumentBuilder.NewDocumentNamed("Document1")
.FromFile("your_file_path")
.WithId("Document1")
.WithSignature(SignatureBuilder.AcceptanceFor("[email protected]"))
)
......
.Build();
PackageId packageId = eslClient.CreatePackage(package);
eslClient.SendPackage(packageId);
//sign all documents for sender
eslClient.signDocuments(packageId);
As always, you need to be aware that progrommatically signing means the audit trail recorded it's your application that signed the documents, not the actual signer.
Duo