Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Preferences
Replies
Topics Started
Topic Started
Topics |
---|
This works (after unzipping the file)
byte[] bytes = eslClient.PackageService.DownloadZippedDocuments(packageId);
using (Stream file = File.OpenWrite(DocumentName+".zip" ))
{
file.Write(bytes, 0
|
Greetings
I'm building an app for a customer using ESignLive. person1 fills in a couple Textbox fields with numbers and signs a document (there is only one place for that person to sign).
|
Replies Created
Reply to: Looking for options for a multistep signing process
Thursday, June 2, 2016 at 08:30amHi Michael, thanks again for all your help. getting closer...
Well, I got it to work, but only if no fields are associated with the signature. So if I comment it out (like below) it works, if the field is enabled I get "The remote server returned an error: (400) Bad Request". I need to have the label field there, since I use it to mark some status based on who signed already. Remember I add up two fields from another signer with REST programmatically. Is there anyway to make the autosign work with an associated label field?
.WithSignature(SignatureBuilder.SignatureFor(Signer3.Email)
.OnPage(0)
.AtPosition(262, 760)
.WithSize(200, 40)
.WithId(sigID3)
//.WithField(FieldBuilder.Label().WithId("Col3").AtPosition(515, 710).OnPage(0).WithSize(40, 30).Build())
)
Reply to: Looking for options for a multistep signing process
Friday, June 3, 2016 at 05:01amGot it, takes 2 REST calls in a row. Here's an example
1. Post this "{"id":"Col3","value":"23"}" to "https://sandbox.esignlive.com/api/packages/9x_4lJRqj3sYYAmHbeUJpI29Ulo=/documents/e7c74ecb53a8289b/approvals/MySiggy3/fields/Col3".
2. Post this "{"documents":[{"approvals":[{"id":"MySiggy3","fields":[{"id":"Col3","value":""}]}],"id":"e7c74ecb53a8289b"}]}" to "https://sandbox.esignlive.com/api/packages/9x_4lJRqj3sYYAmHbeUJpI29Ulo=/documents/signed_documents"
The document is signed and the label is 23. It is weird that the second rest call needs the label information, yet does not update it.
Thanks again Michael. I never would have got this to work without your help
Reply to: Is there a bug with programmatically downloading a document not completely sign?
Tuesday, June 14, 2016 at 06:17amHi Haris.
Now, of course, it works. Still using the same code. Not sure what changed, but all looks good now.
Thanks Jim
Reply to: Controlling Textarea font size
Tuesday, August 2, 2016 at 09:06amHi Haris
Here's my issue. I'm already prompting for the data beforehand, but I'm writing text to the field after another user has already signed, but before the signature associated to this field is signed. I'm able to write text to the field using a REST Post. But I'm unable to change the field's height and width using REST or the API. The only thing that sort of works is to write a bunch of " " after my text. Can you think of any other possible solution?
Thanks
Jim
Reply to: Controlling Textarea font size
Tuesday, August 9, 2016 at 11:07amHi Haris
Per your suggestions:
I'm doing 1.
I was unable to get 2. to work. I found that I can modify a textarea before a user has signed, and the document is in draft mode, using eslClient.ApprovalService.ModifyApproval. After a user has signed, I don't get an error, but no change is saved. Can you show a code example on how to get this to work?
For option 3. help says "Note that currently injecting data into a document, using eSignLive, can only be done when uploading your document and can only be done through the API/SDKs.". This leads me to believe this will not be possible after a signature, is true?
as a work-around I was able add text to the textarea's value, after a signature, using a REST post. To fix the weird text sizing (i.e. a one word value is really big, and a long paragraph value is really small and shown on one line), I did these 2 things. For short text I add a proportional amount of “ " after the sentence. For long text I add "\n" where the end of the line needs to be, in this way I get multiple lines. Hoping that there is a better solution.
Thanks
Jim
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
This works (after unzipping the file)
byte[] bytes = eslClient.PackageService.DownloadZippedDocuments(packageId);
using (Stream file = File.OpenWrite(DocumentName+".zip" ))
{
file.Write(bytes, 0
|
3 | 7 years 11 months ago | 11 | |
Greetings
I'm building an app for a customer using ESignLive. person1 fills in a couple Textbox fields with numbers and signs a document (there is only one place for that person to sign).
|
18 | 7 years 11 months ago | 7 |
Subscriptions Release Notes
This user is not subscribed to any release notes.