#DocuSignAPI无法在捕获签名中获取标题

#DocuSignAPI无法在捕获签名中获取标题,docusignapi,signing,envelope,Docusignapi,Signing,Envelope,我有一份需要客户签字的文件,客户应该能够更改他们的姓名和职务。我拖放了从自定义签名过程中填充的name字段,同样地,我添加了title字段,希望它也能这样做 但是我尝试了下面的方法,结果总是空的。我无法使用以下方法对其进行预填充: body = "<envelopeDefinition xmlns=\"http://www.docusign.com/restapi\">" + "<emailSubject>API Call for

我有一份需要客户签字的文件,客户应该能够更改他们的姓名和职务。我拖放了从自定义签名过程中填充的name字段,同样地,我添加了title字段,希望它也能这样做

但是我尝试了下面的方法,结果总是空的。我无法使用以下方法对其进行预填充:

body = "<envelopeDefinition xmlns=\"http://www.docusign.com/restapi\">"
                    + "<emailSubject>API Call for adding signature request to document and sending</emailSubject>"
                    + "<status>sent</status>"
                    + "<documents>"
                    + "<document>"
                    + "<documentId>"+documentId+"</documentId>"
                    + "<name>" + documentName + "</name>"
                    + "</document>"
                    + "</documents>"
                    + "<recipients>"
                    + "<signers>"
                    + "<signer>"
                    + "<recipientId>1</recipientId>"
                    + "<name>" + recipientName + "</name>"
                    + "<email>" + recipientEmail + "</email>"
                    + "<clientUserId>" + planId + "</clientUserId>"
                    + "<title>CFO</title>" << 3rd Attempt
                    + "<tabs>"
                    + "<fullNameTabs>"
                    + "<fullName>"   // working perfectly                 
                    + "<xPosition>" + nameXPos + "</xPosition>"
                    + "<yPosition>" + nameYPos + "</yPosition>"
                    + "<documentId>"+documentId+"</documentId>"
                    + "<pageNumber>" + namePage + "</pageNumber>"
                    + "</fullName>"
                    + "</fullNameTabs>"     
                    + "<titleTabs>"
                    + "<title>"     // not pre-filling text              
                    + "<xPosition>" + titleXPos + "</xPosition>"
                    + "<yPosition>" + titleYPos + "</yPosition>"
                    + "<documentId>"+documentId+"</documentId>"
                    + "<pageNumber>" + titlePage + "</pageNumber>"
                    + "<name>GM</name><width>200</width>" << Tooltip works 
                    + "<value>General Manager</value>"  << Not working (bug?)
                    + "<tabLabel>General Manager</tabLabel>" << 2nd attempt
                    + "<required>false</required>"
                    + "</title>"
                    + "</titleTabs>"                         
                    + "<signHereTabs>"
                    + "<signHere>"
                    + "<xPosition>" + signatureXPos + "</xPosition>"
                    + "<yPosition>" + signatureYPos + "</yPosition>"
                    + "<documentId>"+documentId+"</documentId>"
                    + "<pageNumber>" + signaturePage + "</pageNumber>"
                    + "</signHere>"
                    + "</signHereTabs>"
                    + "</tabs>"
                    + "</signer>"
                    + "</signers>"
                    + "</recipients>"
                    + "</envelopeDefinition>";
body=“”
+“用于将签名请求添加到文档并发送的API调用”
+“已发送”
+ ""
+ ""
+“”+documentId+“”
+“”+documentName+“”
+ ""
+ ""
+ ""
+ ""
+ ""
+ "1"
+“”+recipientName+“”
+“”+收件人电子邮件+“”
+“”+planId+“”

+“CFO”这不是DocuSign中的错误。这是捕获收件人类型的设计。捕获收件人在DocuSign中不是已知用户,因此标题不存在

解决方案非常简单,您需要使用文本选项卡,然后预填充它的值

                + "<textTabs>"
                + "<text>"
                + "<xPosition>" + titleXPos + "</xPosition>"
                + "<yPosition>" + titleYPos + "</yPosition>"
                + "<documentId>"+documentId+"</documentId>"
                + "<pageNumber>" + titlePage + "</pageNumber>"
                + "<name>GM</name><width>200</width>"
                + "<value>General Manager</value>"
                + "<tabLabel>General Manager</tabLabel>"
                + "<required>false</required>"
                + "</text>"
                + "</textTabs>"
+“”
+ ""
+“”+titleXPos+“”
+“”+titleYPos+“”
+“”+documentId+“”
+“”+标题页+“”
+“GM200”
+“总经理”
+“总经理”
+“假”
+ ""
+ ""

这不是DocuSign中的错误。这是捕获收件人类型的设计。捕获收件人在DocuSign中不是已知用户,因此标题不存在

解决方案非常简单,您需要使用文本选项卡,然后预填充它的值

                + "<textTabs>"
                + "<text>"
                + "<xPosition>" + titleXPos + "</xPosition>"
                + "<yPosition>" + titleYPos + "</yPosition>"
                + "<documentId>"+documentId+"</documentId>"
                + "<pageNumber>" + titlePage + "</pageNumber>"
                + "<name>GM</name><width>200</width>"
                + "<value>General Manager</value>"
                + "<tabLabel>General Manager</tabLabel>"
                + "<required>false</required>"
                + "</text>"
                + "</textTabs>"
+“”
+ ""
+“”+titleXPos+“”
+“”+titleYPos+“”
+“”+documentId+“”
+“”+标题页+“”
+“GM200”
+“总经理”
+“总经理”
+“假”
+ ""
+ ""