Getting a new Error: No Role found for signer email
Tuesday, December 12, 2017 at 06:26amI was generating Packages without a problem using my Code but now I am returning the following error when trying to send a new Package. What am I missing?
DocumentPackage Package = PackageBuilder.NewPackageNamed(PreOrderNumber + "_" + DateTime.Today.ToString("yyyyMMdd"))
.WithSenderInfo(SenderInfoBuilder.NewSenderInfo(ltfEmail))
.DescribedAs(SOF)
.ExpiresOn(ExpirationDate)
.WithSigner(SignerBuilder.NewSignerWithEmail(GetEmail)
.WithCustomId(PreOrderId.ToString())
.WithFirstName(GetFirstName)
.WithLastName(GetLastName)
.WithTitle("Signer")
.SigningOrder(0))
.WithDocument(DocumentBuilder.NewDocumentNamed("Disclosures and Signatures Consent")
.AtIndex(1)
.FromFile("C:\\Disclosures & Consent.pdf")
.WithSignature(SignatureBuilder.AcceptanceFor(GetEmail)))
.WithSigner(SignerBuilder.NewSignerWithEmail(ltfEmail)
.WithCustomId(PreOrderId.ToString())
.WithFirstName(ltfFirstName)
.WithLastName(ltfLastName)
.WithTitle("Signer")
.SigningOrder(1))
.WithDocument(DocumentBuilder.NewDocumentNamed(SOF)
.WithId(PreOrderId.ToString())
.FromStream(ms, DocumentType.PDF)
.WithSignature(SignatureBuilder.SignatureFor(GetEmail)
.WithPositionAnchor(TextAnchorBuilder.NewTextAnchor("Signature")
.AtPosition(TextAnchorPosition.TOPRIGHT)
.WithSize(180, 17)
.WithOffset(50, -3)
.WithCharacter(0)
.WithOccurrence(0))
.WithField(FieldBuilder.SignatureDate()
.WithPositionAnchor(TextAnchorBuilder.NewTextAnchor("Signature")
.AtPosition(TextAnchorPosition.TOPRIGHT)
.WithSize(180, 20)
.WithCharacter(0)
.WithOffset(50, 40)
.WithOccurrence(0)))
.WithField(FieldBuilder.TextField()
.WithPositionAnchor(TextAnchorBuilder.NewTextAnchor("Name/Title")
.AtPosition(TextAnchorPosition.TOPRIGHT)
.WithSize(180, 17)
.WithOffset(53, 0)
.WithCharacter(0)
.WithOccurrence(0))
)
)
.WithSignature(SignatureBuilder.SignatureFor(ltfEmail)
.WithPositionAnchor(TextAnchorBuilder.NewTextAnchor("Signature")
.AtPosition(TextAnchorPosition.TOPRIGHT)
.WithSize(180, 17)
.WithOffset(285, -3)
.WithCharacter(0)
.WithOccurrence(1))
.WithField(FieldBuilder.SignatureDate()
.WithPositionAnchor(TextAnchorBuilder.NewTextAnchor("Signature")
.AtPosition(TextAnchorPosition.TOPRIGHT)
.WithSize(180, 20)
.WithCharacter(0)
.WithOffset(285, 40)
.WithOccurrence(1)))
.WithField(FieldBuilder.TextField()
.WithPositionAnchor(TextAnchorBuilder.NewTextAnchor("Name/Title")
.AtPosition(TextAnchorPosition.TOPRIGHT)
.WithSize(180, 17)
.WithOffset(53, 0)
.WithCharacter(0)
.WithOccurrence(1))
)
)
)
.Build();
Reply to: Getting a new Error: No Role found for signer email
Tuesday, December 12, 2017 at 07:14amReply to: Getting a new Error: No Role found for signer email
Tuesday, December 12, 2017 at 07:27amReply to: Getting a new Error: No Role found for signer email
Tuesday, December 12, 2017 at 08:16am