Account


Earned badges

Achievement: Latest Unlocked

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

0 votes
Hi 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

0 votes
Got 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: Controlling Textarea font size

0 votes
Hi 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 "&nbsp" after my text. Can you think of any other possible solution? Thanks Jim

Reply to: Controlling Textarea font size

0 votes
Hi 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 “&nbsp" 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
Profile picture for user harishaidary
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
Profile picture for user mwilliams

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.