cindy | Posts: 380

how to create package with digital signature

0 votes

Hi,

I'd like to know how to create package with digital signature PDF form (see attachment), normally we have PDF form with Acro field. could you please share the API/SDK create package payload ?

 

thanks,

Cindy

 

 


cindy | Posts: 380

Reply to: how to create package with digital signature

0 votes

Hi 
 

I received the email notification, the post has been updated, but i don't see any updates. is there anything I missed?

thanks,

Cindy


Duo_Liang | Posts: 3776

Reply to: how to create package with digital signature

0 votes

Hi Cindy,

 

From the PDF you shared to me, it seems you are trying to use Position Extraction method to extract fields - use PDF form name to match with OneSpan Sign fields. In this case, both PDF acro and signature forms can be recognized by document engine. Take the signature "Advisor1.Capture1" on page 7 for example, below JSON should work fine extracting the field in 11.25 version:
 

{

"name": "test package with position extraction",

"roles": [

{

"signers": [

{

"id": "Signer1",

"lastName": "last.name",

"firstName": "first.name",

"email": "[email protected]"

}

],

"name": "Signer1",

"id": "Signer1"

}

],

"documents": [

{

"name": "Document1",

"approvals": [

{

"fields": [

{

"name": "Advisor1.Capture1",

"type": "SIGNATURE",

"extract": true,

"subtype": "FULLNAME"

}

],

"name": "Advisor1.Capture1",

"role": "Signer1"

}

],

"extract": true,

"id": "Document1"

}

]

}

 

Duo


cindy | Posts: 380

Reply to:

0 votes

got it. thanks Duo.

one more question, in page 7 for signer "Rep1", the client tried to get signing date with Year, Mon and day separately, does Onespan support this function? if so, could you please share the code and how to tag properly in PDF so Onespan can extract it.

 

thanks,

Cindy 


Duo_Liang | Posts: 3776

Reply to: how to create package with digital signature

0 votes

Hi Cindy,

 

Date parts as separate fields are not yet supported. You do have the option to customize the signing date format to something like "'this' dd 'day of' MMMM',' yyyy", but it affects ALL the signing date field and it doesn't fill in the underline.

 

Duo

 


cindy | Posts: 380

Reply to:

0 votes

Hi Duo,

I have the below API call payload to create the package with attached form, but I got the below error.

 

2020-09-14 13:45:45,268 SEVERE [com.silanis.esl.web.exception.mappers.ThrowableMapper] (default task-20) EsepCommand failed and no fallback available.: com.netflix.hystrix.exception.HystrixRuntimeException: EsepCommand failed and no fallback available.

 


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off