Applying layouts
Thursday, July 21, 2016 at 10:42amHello,
I am trying to apply a layout that is created with PlaceHolder for signers. In my package I add my real signers with email and would like to map each real signer to a placeholder in the layout. What is the best way to do this? LayoutService.applyLayout doesn't accept any parameter to define the mapping between real signers and placeholders.
So, this is what I did but didn't work as expected...
In my package creation I used the following code to set the signer's id as the placeholder id as below:
DocumentPackage samplePackage = PackageBuilder.newPackageNamed("Sample Package ") .describedAs("This is a sample package") .withSigner(SignerBuilder.newSignerWithEmail(SIGNER1_EMAIL) .withFirstName("John") .withLastName("Smith") .replacing(new Placeholder(ROLE1))) .withDocument(DocumentBuilder.newDocumentWithName("Sample Document") .withId("documentId1") .fromStream(doc, DocumentType.WORD) ... PackageId packageId = eslClient.createPackage(samplePackage); eslClient.getLayoutService().applyLayout(packageId, "documentId1", layoutId); eslClient.sendPackage(packageId);It looks fine up to the point that the signer is going to sign the document. At that point it shows an error message that it could not confirm the signature. Is this a bug or am I doing something wrong? Please see the screenshot attached. Thanks,
Reply to: Applying layouts
Thursday, July 21, 2016 at 11:05pmReply to: Applying layouts
Friday, July 22, 2016 at 06:04amReply to: Applying layouts
Monday, August 8, 2016 at 09:43amReply to: Applying layouts
Monday, August 8, 2016 at 09:47amReply to: Applying layouts
Monday, August 8, 2016 at 10:03amReply to: Applying layouts
Monday, August 8, 2016 at 10:11am