Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

In the designer of a package, there is a checkbox "Accept only" for a signer. How can I set this to true using the .NET SDK?

 

What parameter can I use on a capture tag, to set the fromfile value to true.

I cannot find it anywhere. This is what I've tried, but it is not a valid parameter:

Replies Created

Reply to: How do I set the FromFile option on a capture field

1 votes

Thank you very much for this solution. Unfortunately I get an error on this line:

DocumentPackage createdPackage = ossClient.GetPackage(packageId);

The error is: :

OneSpanSign.Sdk.OssException: 'href cannot be null or an empty string'

packageId is filled and the package is created.

The baseURI on the ossCLient is "https://sandbox.esignlive.com/api". Can you help me with this?

 


Reply to: How do I set the FromFile option on a capture field

0 votes

The problem only occurs in the sandbox. In the live API it works well.

Another thing in your example code is that it includes this line:

ossClient.SendPackage(packageId);

Causing the package to be sent out immediately. I've changed it to:

ossClient.UpdatePackage(packageId, createdPackage);

So the package is only updated and not send to the signers.


Reply to: How do I set "Accept only" for a signer using the .NET SDK

0 votes

Thank you for the example. This works as long as I don't use EnableExtraction WithExtractionType(ExtractionType.TEXT_TAGS).

I have a Word document without any fields for Signer1 and with a capture field fot Signer2.If I remove the EnableExtraction lines, it works as proposed (but of course without the esl caputere extracted), and the first signer is marked as "Accept only". 

But when I use use EnableExtraction and WithExtractionType(ExtractionType.TEXT_TAGS), the first signer is not marked as "Accept only".

Is that a bug or am I missing something? 

 


Subscriptions

Topics Replies Freshness Views Users

In the designer of a package, there is a checkbox "Accept only" for a signer. How can I set this to true using the .NET SDK?

 

4 9 months 4 weeks ago 44
Profile picture for user Duo_Liang

What parameter can I use on a capture tag, to set the fromfile value to true.

I cannot find it anywhere. This is what I've tried, but it is not a valid parameter:

4 10 months ago 60
Profile picture for user Duo_Liang
we are receiving below notofication. {"@class":"com.silanis.esl.packages.event.ESLProcessEvent","name":"SIGNER_COMPLETE","sessionUser":"WvkDSx1Y7TwJ","packageId":"ZDpPk7usBE9clU9SHp_PllOB6As=","mess
9 9 months ago 120
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.