标签页指的是缺少的文档 [英] Tab refers to a missing document

查看:68
本文介绍了标签页指的是缺少的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试发送一个信封,该信封由
Template1(1个pdf文档)
Template2(2个pdf文档,1个常规填写,2个带有附加附加文档标签)组成

I am trying to send an envelope that is composed of Template1 (1 pdf document) Template2 (2 pdf documents, 1-regular fill-out, 2-with attach extra document tab)

如果我仅单独使用template1或template2,则可以发送信封。但是,我无法同时发送两个模板,但收到以下错误,并且不确定其含义。

If I use just template1 or template2 individually, I am able to send out the envelope. However, I can not send it both templates at the same time, I get the following error, and not sure what it means.

<errorDetails xmlns="http://www.docusign.com/restapi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<errorCode>TAB_REFERS_TO_MISSING_DOCUMENT</errorCode>
<message>The DocumentId specified in the tab element does not refer to a document in this envelope. Tab refers to DocumentId 2 which is not present.</message>
</errorDetails>

以下是我正在使用的代码:

Here is the code that I am using:

{
    "emailSubject": "Account Setup",
    "emailBlurb": "Please fill out the form",
    "status": "sent",   
    "compositeTemplates": [{
           "compositeTemplateId": "compositeTemplate1",
           "serverTemplates": [

                    /* STANDARD ACCOUNT FORM */
                    {
                        "sequence": "2",
                        "templateId": "182B70AD-*"
                    },

                    /* ELECTRONIC TRANSFER FORM */
                    {
                        "sequence": "3",
                        "templateId": "B2B0BF8D-*"
                    }

                    ],

           "inlineTemplates": [{
                   "sequence": "1",
                   "recipients": {
                          "signers": [{
                                  "email": "email@gmail.com",
                                  "name": "First Last",
                                  "recipientId": "1",
                                  "roleName": "Client",
                                  "RequireIDLookup": "true",
                                  "RequireIDLookupSpecified": "true",
                                  "idCheckConfigurationName": "Phone Auth $",
                                  "phoneAuthentication": {
                                              "recipMayProvideNumber": "false",
                                              "senderProvidedNumbers": [
                                                        "914-000-0000"
                                              ]
                                    }
                          }]
                   }
           }]
    }]

}

请告知。

推荐答案

也许尝试更改每个序列中 sequence 的值您的服务器模板对象以及内联模板对象中的内容,以指示应首先(第二次)应用服务器模板,然后再应用内联模板:

Perhaps try changing the value of sequence in each of your server template objects and in the inline template object as well, to indicate that the server template should be applied first (and second), and then the inline template should be applied after that:

           "serverTemplates": [

                    /* STANDARD ACCOUNT FORM */
                    {
                        "sequence": "1",
                        "templateId": "182B70AD-*"
                    },

                    /* ELECTRONIC TRANSFER FORM */
                    {
                        "sequence": "2",
                        "templateId": "B2B0BF8D-*"
                    }

                    ],

           "inlineTemplates": [{
                   "sequence": "3",
                   "recipients": {
                   ....

------ UPDATE ------

您提供的模板XML提示,有问题的标记(导致您收到错误消息的标记)是 SignerAttachment 电子资金转帐表格模板中将 TabLabel 设置为签名者附件34的代码。该标签是(在任一XML文件中)唯一引用 DocumentID 2 的标签(我只是在两个XML文件中搜索了< DocumentID> 2< / DocumentID> ):

The Template XML you provided suggests that the problematic tag (the one causing the error message you're receiving) is the SignerAttachment tag with TabLabel set to "Signer Attachment 34" in the Electronic Funds Transfer Form template. This tag is the only tag (in either XML file) that refers to DocumentID value 2 (I simply searched both XML files for <DocumentID>2</DocumentID>):

    <Tab>
        <DocumentID>2</DocumentID>
        <RecipientID>1</RecipientID>
        <PageNumber>1</PageNumber>
        <XPosition>12</XPosition>
        <YPosition>104</YPosition>
        <ScaleValue>1</ScaleValue>
        <Type>SignerAttachment</Type>
        <Name>Signer Attachment</Name>
        <TabLabel>Signer Attachment 34</TabLabel>
        <Value />
        <CustomTabRequired>false</CustomTabRequired>
        <CustomTabLocked>false</CustomTabLocked>
        <TemplateLocked>true</TemplateLocked>
        <TemplateRequired>false</TemplateRequired>
    </Tab>

这对于DocuSign来说是有问题的,因为 DocumentID 的值表示文档标签所在的位置(即签名者在其签名会话期间将看到该标签的位置)。因此,DocuSign希望将该标签放置在具有 ID = 2 的文档中-但是,如果您检查该XML文件中< Documents> 的内容,您只会看到一个文档(具有 ID = 1 )–没有第二个文档(即,没有具有 ID = 2 的文档):

This is problematic for DocuSign, because the value of DocumentID indicates the document in which the tag resides (i.e., where the signer will see that tag during their signing session). So, DocuSign's looking to place this tag in the document that has an ID=2 -- but, if you examine the contents of <Documents> within that XML file, you'll see only a single document (with ID=1) -- there is no second document (i.e., no document with ID=2):

<Documents>
    <Document>
        <ID>1</ID>
        <Name>File1.pdf</Name>
        <PDFBytes/>
        <AttachmentDescription>Please attach voided check, deposit slip or a copy of bank statement.</AttachmentDescription>
    </Document>
</Documents>

我不确定事情可能会变成这种状态(即,为什么签名者附件标签是指不存在的文档ID)。但是,执行以下操作可能会解决此问题:

I'm not sure how things might have gotten to this state (i.e., why the DocumentID for the Signer Attachment tag refers to a document ID that doesn't exist). However, doing the following might resolve the issue:


  1. 在DocuSign中编辑电子资金转帐表格模板-删除/删除签名者附件标签;保存模板。

  1. Edit the Electronic Funds Transfer Form Template in DocuSign -- remove/delete the Signer Attachment tag; save the Template.

尝试使用原始方案(使用两个模板发送信封)。如果有效,那么这将确认签名者附件标记确实是您造成问题的原因。

Attempt your original scenario (send the Envelope using both templates). If it works, then this will confirm that the Signer Attachment tag was indeed the cause of your problem.

在DocuSign中编辑电子资金转帐表单模板-在与原始(已删除)原始签名者相同的位置添加新的签名者附件标签;保存模板。

Edit the Electronic Funds Transfer Form Template in DocuSign -- add a new Signer Attachment tag in the same location as the original (removed) one existed; save the Template.

尝试使用原始方案(使用两个模板发送信封)。

Attempt your original scenario (send the Envelope using both templates).

我怀疑这将解决您的问题,但如果不是这样,请告诉我。

I suspect this will resolve your issue, but let me know if that's not the case.

这篇关于标签页指的是缺少的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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