Text Tags Reading back
Tuesday, October 9, 2018 at 09:24amHi,
The following link provides detail on how to pass tags to eSign.
https://www.esignlive.com/blog/esignlive-how-to-text-tags
How do you retrieve the value of the tags back once the document has been signed programmatically?
Thaban
Reply to: Text Tags Reading back
Wednesday, October 10, 2018 at 08:18am{{Xesl[_fieldName]:roleName:fieldType[:parameter1,parameter2,...]}} //pattern {{esl_reCapture1:re:capture:size(150,30),offset(0,-10)}} //an example where the roleName is re, the field is a capture signature field and the field name is "reCapture1"You can get more information about text tag usage in this document site. In this way, you can grab the package object, loop through all fields and find the field with this name and get the properties you want. Hope this could help! DuoReply to: Text Tags Reading back
Wednesday, October 10, 2018 at 08:24amReply to: Text Tags Reading back
Wednesday, October 10, 2018 at 10:43am{ "binding": null, "validation": { "required": false, "maxLength": 4000, "minLength": null, "enum": null, "errorMessage": "", "errorCode": null, "pattern": "" }, "id": "reEmail1", "top": 180, "page": 0, "data": null, "extractAnchor": null, "subtype": "TEXTFIELD", "extract": false, "width": 150, "height": 30, "left": 192, "type": "INPUT", "value": "[email protected]", "name": "reEmail1" }In this case, id and name of the field are replaced by the value we set "reEmail1" and with this, it's very easy for you to locate this field and get the value of the textfield using following code:String apiKey = "MThFWkRMNDR4Z3NYOkt1cWlLMU0xWVA4TA=="; String apiUrl = "https://sandbox.esignlive.com/api"; EslClient eslClient = new EslClient(apiKey, apiUrl); var emailValue = ""; DocumentPackage docPack = eslClient.GetPackage(new PackageId("fE0AxLZirTtkTBwbQQc-g7q7mGg=")); Document document = eslClient.PackageService.GetDocumentMetadata(docPack, "bd5075a410540404d2deacc8cd93a9e1648158553ac9ef05"); foreach (var approval in document.Signatures) { foreach (var field in approval.Fields) { if (field.Id.Equals("reEmail1")) { emailValue = field.Value; } } } Debugger.Log(1, "Debug", emailValue + "\n");You can find the complete code in the attachment. Hope this could help! DuoReply to: Text Tags Reading back
Thursday, October 11, 2018 at 04:52amReply to: Text Tags Reading back
Thursday, October 11, 2018 at 05:33amReply to: Text Tags Reading back
Thursday, October 11, 2018 at 10:31amReply to: Text Tags Reading back
Tuesday, October 30, 2018 at 06:25am