DocuSign:如何用相同标签预填充多个文本选项卡? [英] DocuSign: How to prefill multiple text tabs with the same label?

查看:68
本文介绍了DocuSign:如何用相同标签预填充多个文本选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个文本选项卡,它们在模板中都具有完全相同的标签。当我发送收件人选项卡数据以预填充这些数据时,只有第一个是预填充的,其余的都是空的。



我发现此支持票。但是它包含矛盾的信息:

 是的,我相信您确实需要将值设置10次(每个文本标签一个), 
...
因此,如果您给它们全部相同的标签并使其可编辑(通过将 locked设置为false),则当收件人在一个文本框中键入值时,所有它们都会被更新具有该值。

如果它们全部被识别为一个,为什么API需要发送相同的数据10次?如果它发送了5次信息,则哪个选项卡被填充?前5个?其中有5个是随机的吗?



请注意,我可以获得预先填充了唯一标签的文本标签。



编辑:



这是请求的JSON转储:

  {
compositeTemplates:null,
status:已发送,
allowReassign:false,
allowRecipientRecursion:false,
templateRoles:[
{
name: Atamert Olcgen,
tabs:{
radioGroupTabs:[],
textTabs:[
...
{
name: Text,
value:< EMAIL1>,
tabLabel :电子邮件
},
...
{
name: Text,
value: Atamert Olcgen,
tabLabel:全名
},
...
],
checkboxTabs:[]
},
recipientId : 1,
accessCode:空,
clientUserId: ******,
roleName:客户端,
emailNotification:空,
电子邮件:< EMAIL1>
},
{
name: *****,
tabs:{
... //次要签名者,大部分为空
},
recipientId: 2,
accessCode:null,
clientUserId:null,
roleName:!,
emailNotification:空,
email:< EMAIL2>
},
{
name: ******,
tabs:{
radioGroupTabs:[],
textTabs:[],
checkboxTabs:[]
},
recipientId: 1,
accessCode:null,
clientUserId:空,
roleName: EmailOnlyRecipient,
emailNotification:空,
email:< EMAIL3>
}
],
enableWetSign:假,
signingLocation:在线,
eventNotification:空,
enforceSignerVisibility :false,
brandId:,
allowMarkup:false,
envelopeIdStamping:false,
异步:false,
templateId :< TEMPLATE_ID>,
emailBlurb:,
customFields:null,
authoritativeCopy:false,
emailSubject:< ; PRODUCT>-安全授权文档,
autoNavigation:false
}

(我已删除了一些敏感信息)



这是JSON响应:

  {
envelopeId: ******,
uri: / envelopes / ******,
statusDateTime : 2013-08-12T10:25:00.7159991Z,
状态:发送
}

正如我在上面第一个 FullName 标签中预先填写的那样,随后的标签为空。

解决方案

您引用的帖子现在已过时-实际上,当您有多个标签相同的标签要使用相同的值进行预填充时,实际上需要做一些技巧。 / p>

基本上,如果您有多个具有相同tabLabel的标签,并且希望所有标签都以相同的初始值开头,那么您需要在tabLabel前面加上通配符字符串

  \\ * 

例如,假设您有一个社会安全选项卡,该选项卡已添加到文档的多个位置,称为 SocialSecurityTab。要填充所有包含 SocialSecurityTab作为其tabLabel的textTab,请使用以下JSON:

  textTabs:[
{
tabLabel: \\ * SocialSecurityTab,
value: 012-34-5678
}

重要的是不要忘记两个反斜杠(\)字符,并且还请确保您使用的系统(例如Salesforce)不会



文档



请参见 自动填充标签 文档以了解更多信息


I have multiple text tabs that all have the exact same label in a template. When I send recipient tab data to prefill these only the first one is prefilled, rest of them are empty.

I have found this support ticket. But it contains contradicting info:

Yes I believe you do need to set the value 10 times (one for each text tab),
...
So if you give them all the same label and make them editable (by setting "locked" to false) then when a recipient types a value  into one text box ALL of them will get updated with that value. 

If they're all recognized as one, why do the API need to send the same data 10 times? If it sends the info 5 times, which tabs are filled? The first 5? Any 5 of them randomly?

Please note that I can get text tabs with unique labels prefilled.

EDIT:

Here is the JSON dump of the request:

{
  "compositeTemplates": null, 
  "status": "sent", 
  "allowReassign": false, 
  "allowRecipientRecursion": false, 
  "templateRoles": [
    {
      "name": "Atamert Olcgen", 
      "tabs": {
        "radioGroupTabs": [], 
        "textTabs": [
          ...
          {
            "name": "Text", 
            "value": "<EMAIL1>", 
            "tabLabel": "Email"
          }, 
          ...
          {
            "name": "Text", 
            "value": "Atamert Olcgen", 
            "tabLabel": "FullName"
          }, 
          ...
        ], 
        "checkboxTabs": []
      }, 
      "recipientId": "1", 
      "accessCode": null, 
      "clientUserId": "******", 
      "roleName": "Client", 
      "emailNotification": null, 
      "email": "<EMAIL1>"
    }, 
    {
      "name": "*****",
      "tabs": {
      ... // Secondary signer, mostly empty
      }, 
      "recipientId": "2", 
      "accessCode": null, 
      "clientUserId": null, 
      "roleName": "!", 
      "emailNotification": null, 
      "email": "<EMAIL2>"
    }, 
    {
      "name": "******", 
      "tabs": {
        "radioGroupTabs": [], 
        "textTabs": [], 
        "checkboxTabs": []
      }, 
      "recipientId": "1", 
      "accessCode": null, 
      "clientUserId": null, 
      "roleName": "EmailOnlyRecipient", 
      "emailNotification": null, 
      "email": "<EMAIL3>"
    }
  ], 
  "enableWetSign": false, 
  "signingLocation": "Online", 
  "eventNotification": null, 
  "enforceSignerVisibility": false, 
  "brandId": "", 
  "allowMarkup": false, 
  "envelopeIdStamping": false, 
  "asynchronous": false, 
  "templateId": "<TEMPLATE_ID>", 
  "emailBlurb": "", 
  "customFields": null, 
  "authoritativeCopy": false, 
  "emailSubject": "<PRODUCT> - Secure Authorization Document", 
  "autoNavigation": false
}

(I have removed some sensitive information)

And here is the JSON response:

{
  "envelopeId": "******",
  "uri": "/envelopes/******",
  "statusDateTime": "2013-08-12T10:25:00.7159991Z",
  "status": "sent"
}

As I said above the first FullName tab is prefilled, subsequent ones are empty.

解决方案

The post you referenced is now out of date - there's actually a trick you need to do when you have multiple tabs with the same label that you want to prefill with the same value.

Basically if you have several tabs with the same tabLabel and you'd like all of them to start out with the same initial value then you need to prefix the tabLabel with the wildcard string

\\* 

For instance, let's say you have a social security tab that you've added to your document in multiple places called "SocialSecurityTab". To fill ALL of the textTabs that contain "SocialSecurityTab" as their tabLabel use the following JSON:

"textTabs": [
      {
        "tabLabel": "\\*SocialSecurityTab",
        "value": "012-34-5678"
      }

It's important to not forget both backslash (\) characters, and also make sure you're not using a system (such as Salesforce) that might strip one of backslashes out for various reasons.

Documentation

See the Automatically Populating Tabs documentation for more info.

这篇关于DocuSign:如何用相同标签预填充多个文本选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆