1

我在我的 DocuSign 模板中设置了广播组,并尝试在使用模板创建信封时填充它。这是我制作的 XML 结构:

<envelopeDefinition xmlns="http://www.docusign.com/restapi">
   <accountId>******</accountId>
   <status>sent</status>
   <templateId>******</templateId>
   <templateRoles>
      <templateRole>
         <email>******@test.com</email>
         <name>****** ******</name>
         <roleName>General</roleName>
         <clientUserId>UserId</clientUserId>
         <tabs>
            <textTabs>
               <text>
                  <tabLabel>Name</tabLabel>
                  <value>Test User</value>
               </text>
               <text>
                  <tabLabel>Address 1</tabLabel>
                  <value>123 Main Street</value>
               </text>
               <text>
                  <tabLabel>Address 2</tabLabel>
                  <value>Venice, CA 12345</value>
               </text>
            </textTabs>
            <radioGroupTabs>
               <radioGroup>
                  <groupName>Radio Group 1</groupName>
                  <radios>
                     <radio>
                        <selected>True</selected>
                        <value>Radio 1</value>
                     </radio>
                     <radio>
                        <selected>False</selected>
                        <value>Radio 2</value>
                     </radio>
                  </radios>
               </radioGroup>
            </radioGroupTabs>
         </tabs>
      </templateRole>
   </templateRoles>
</envelopeDefinition>

这个 XML 请求正确吗?“名称”和“地址 *”选项卡已正确填写,但单选组选项卡根本未填写。

4

1 回答 1

2

您的 XML 在我看来是正确的;事实上,我能够将您的代码示例中的(包括radioGroupTabs部分)复制/粘贴到我自己的请求中,并且它可以按需要工作——即,当收件人打开信封。

我建议您验证请求 XML 中的groupNamevalue(对于每个 Radio)的值是否与为 Radio Button Tag Properties 指定的相应值完全匹配,如 DocuSign UI 中所示 - 并记住值区分大小写

单选按钮标签属性

于 2013-10-23T01:51:39.387 回答