Account
Earned badges
Achievement: Latest Unlocked
Replies
Approved Answers
Topics Started
Preferences
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
Monday, July 3, 2023 at 03:32amThank 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
Friday, July 7, 2023 at 06:18amThe 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 the FromFile option on a capture field
Friday, July 7, 2023 at 07:09amFound the problem that caused the error. In the sandbox environment I had to call "WithHandOverLinkHref" on the DocumentPackageSettingsBuilder with a URL.
Reply to: How do I set "Accept only" for a signer using the .NET SDK
Tuesday, July 11, 2023 at 03:02amThank 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?
Reply to: How do I set "Accept only" for a signer using the .NET SDK
Thursday, July 13, 2023 at 03:36amThank you, this wordkaround works great.
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 | |
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 | |
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 |