Account
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Preferences
Topic Started
Topics |
---|
Now sure if this has been asked before, but we need to retrieve which signer was last sent the signature email by OneSpan, including the signing order of this signer. Thanks! |
Is there a Java SDK code example to do OAuth 2.0 for creating an EslClient? Right now I'm using clientAppId and clientAppSecret. |
I know how to retrieve the evidence pdf with the below code: |
We put below in our application pom.xml: |
Replies Created
Reply to: Custom Field - passing value to Template
Monday, April 25, 2022 at 06:36amHi mwilliams
I'm new to OSS. This is exactly what I want - "...create your documents as PDF forms, you could automatically extract fields from the PDF and inject text where you want it at package creation or document upload (if adding to an existing package) time". But I don't know how to place the fields "full_name" and "amount" in the PDF using below code. I tried curly braces {full_name} and square brackets [full_name], but neither worked. Could you advise? Thanks!
.withDocument(DocumentBuilder.newDocumentWithName("sampleAgreement")
.fromFile("sources/TestTemplate.pdf")
.enableExtraction()
.withInjectedField(FieldBuilder.textField()
.withName("amount")
.withValue("50000"))
.withInjectedField(FieldBuilder.textField()
.withName("full_name")
.withValue("John Doe"))
J.P.
Reply to: Custom Field - passing value to Template
Monday, April 25, 2022 at 11:17amThank you Duo for your quick answer! I used your PDF file in my test code and it worked too.
Unfortunately I don't have paid Adobe Acrobat to create/edit PDF files? We always create the template in HTML with placeholder fields, then covert it to a PDF file (programmatically, or manually load HTML to Word and then save as PDF). I tried to use the HTML <input> tag for the fields, and again it's not recognized by OSS. Do you know if there is HTML equivalent to the PDF form fields, or in other words how the PDF form field names can be defined in source HTML?
My simple HTML source for PDF looks like blow:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<form>
<p>Name: <input name="full_name"></p>
<p>Amount: <input name="amount"></p>
</form>
</body>
</html>
Reply to: Custom Field - passing value to Template
Tuesday, April 26, 2022 at 03:18pmThanks Duo Liang! In my case, We'll populate our own custom fields (they are read-only anyway) before forming the PDF file and just do the signer related fields on the PDF.
Reply to: Signer/Role Signing status
Wednesday, May 11, 2022 at 03:49pmHi Duo,
Could you show some Java code for getting the "currently signed" signer when A) there are multiple signers and B) the document has not been completely signed and C) the package is still "In Progress"?
Thanks!
JP
Reply to: Signer/Role Signing status
Thursday, May 12, 2022 at 06:28amThank you Duo!
This is very helpful.
JP
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Now sure if this has been asked before, but we need to retrieve which signer was last sent the signature email by OneSpan, including the signing order of this signer. Thanks! |
6 | 1 year 1 month ago | 44 | ![]() |
Is there a Java SDK code example to do OAuth 2.0 for creating an EslClient? Right now I'm using clientAppId and clientAppSecret. |
2 | 1 year 4 months ago | 39 | ![]() |
I know how to retrieve the evidence pdf with the below code: |
2 | 1 year 6 months ago | 26 | ![]() |
We put below in our application pom.xml: |
2 | 1 year 6 months ago | 31 | ![]() |
Hello everyone, |
4 | 1 year 6 months ago | 65 | ![]() |