USe of WithAda() flag on packages with multiple signers
Wednesday, January 2, 2019 at 07:27amGood Afternoon,
i am currently in the process of updating one of our Applications to include ADA functionality. This application is pointed at the cloud implementation. my test is going against https://sandbox.e-signlive.com
The application in question has a two signer process where we get the signature of the first signer before making another call into the system to create a token from the second signer. The first signer has the "Enable accessibility mode" link in the top right which seems to flip to the screen that put the pdf as text. However, after the signing is complete and our application then triggers the creation of a token for the second signer and a link to the documents needed to be signed by the second signer is generated, the documents no longer have that "Enable accessibility mode" option.
is there some line of code that i am missing where i need to re turn on the ada flag for a package every time i generate a token?
Here is the important bits of the code that is being used:
var closingPackage = PackageBuilder.NewPackageNamed(_configSection.ApplicationDescription)
.WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings()
.WithoutCaptureText()
.WithoutDecline()
.WithDocumentToolbarDownloadButton()
.WithoutInPerson()
.WithoutOptOut()
.WithoutWatermark()
.WithAda()
.WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings()
.WithoutGlobalSaveAsLayoutButton()
.WithoutGlobalConfirmButton()
.WithGlobalDownloadButton()
)
)
.WithSigner(SignerBuilder.NewSignerWithEmail(singerEmail)
.WithFirstName(package.FirstName)
.WithLastName(package.LastName)
.WithCustomId(employeeId)
.SigningOrder(1)
)
.WithSigner(SignerBuilder.NewSignerWithEmail(_setupConfiguration.Value.SharedEmail)
.WithFirstName("redacted")
.WithLastName("redacted")
.WithCustomId(Signer2)
.SigningOrder(2)
);
//Loop through docs
foreach (var doc in package.Documents)
{
using (var stream = new MemoryStream(doc.Data, false))
{
var docBuilder = DocumentBuilder.NewDocumentNamed(doc.Title)
.WithId(_documentConfiguration.Value.GetDocumentId(PackageType.Closing, doc.DocumentType))
.FromStream(stream, DocumentType.PDF);
foreach (var signature in doc.Signatures)
{
docBuilder.WithSignature(signature.CreateSignatureBuilder(_setupConfiguration.Value.SharedEmail, singerEmail));
}
closingPackage.WithDocument(docBuilder);
}
}
packageId = client.CreateAndSendPackage(closingPackage.Build());
// create the signing session for employee
token = client.CreateSignerSessionToken(packageId, employeeId);
return new ESignatureResponse()
{
ServicePackageId = packageId.Id,
SessionUrl = string.Format(_configSection.ApplicationIFrameUrl, token.Token)
};
and then for the subsequent signer:
var packageId = new PackageId(servicePackageId);
SessionToken token = null;
PerformTransaction(client =>
{
token = client.CreateSignerSessionToken(packageId, Signer2);
});
return new ESignatureResponse()
{
ServicePackageId = servicePackageId,
SessionUrl = string.Format(_configSection.ApplicationIFrameUrl, token.Token)
};
Reply to: USe of WithAda() flag on packages with multiple signers
Wednesday, January 2, 2019 at 09:55amReply to: USe of WithAda() flag on packages with multiple signers
Wednesday, January 2, 2019 at 11:10amReply to: USe of WithAda() flag on packages with multiple signers
Wednesday, January 2, 2019 at 11:30amReply to: USe of WithAda() flag on packages with multiple signers
Thursday, January 3, 2019 at 05:19amReply to: USe of WithAda() flag on packages with multiple signers
Thursday, January 3, 2019 at 05:50amReply to: USe of WithAda() flag on packages with multiple signers
Thursday, January 3, 2019 at 06:51amReply to: USe of WithAda() flag on packages with multiple signers
Thursday, January 3, 2019 at 07:10amReply to: USe of WithAda() flag on packages with multiple signers
Thursday, January 3, 2019 at 07:24amReply to: USe of WithAda() flag on packages with multiple signers
Friday, January 11, 2019 at 06:31amReply to: USe of WithAda() flag on packages with multiple signers
Friday, January 11, 2019 at 06:43am