简体   繁体   English

为信封填写多个文档

[英]Fill multiple document for an envelope

I want to prefill my all documents using text tabs but every time only first document is filled and if i use same lablename for any field throughout the envelope then again other document field not getting filled untill and unless i fire any event as keyup,keydown for perfilled tab at first document. 我想使用文本选项卡预填我的所有文档,但每次只填充第一个文档,如果我对整个信封中的任何字段使用相同的lablename,那么其他文档字段也不会被填充直到除非我将任何事件作为keyup,keydown for第一份文件中的穿孔标签。 Here is my xml for docusign 这是我的docusign xml

<envelopeDefinition xmlns="http://www.docusign.com/restapi">
<accountId>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</accountId>
<status>sent</status>
<compositeTemplates>
    <compositeTemplate>
        <serverTemplates>
            <serverTemplate>
                <sequence>1</sequence>
                <templateId>A5ADA6DA-C9E9-4FB6-A3C3-4267CCBD1046 </templateId>
            </serverTemplate>
        </serverTemplates>
        <inlineTemplates>
            <inlineTemplate>
                <sequence>1</sequence>
                <recipients>
                    <signers>
                        <signer>
                            <email>nitishalgo@gmail.com</email>
                            <name>Arvind Kejriwal</name>
                            <recipientId>1</recipientId>
                            <roleName>Signer1</roleName>
                            <clientUserId>1</clientUserId>
                            <tabs>
                                <textTabs>
                                    <text>
                                        <tabLabel>\*lblFullName</tabLabel>
                                        <value>Arvind Kejriwal</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblFirstName</tabLabel>
                                        <value>Arvind</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblLastName</tabLabel>
                                        <value>Kejriwal</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblEmail</tabLabel>
                                        <value>nitishalgo@gmail.com</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblPhone</tabLabel>
                                        <value>664646464664644</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblCityStateZip</tabLabel>
                                        <value>New Delhi,IN,110091</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblAddress</tabLabel>
                                        <value>CM aawas</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblCity</tabLabel>
                                        <value>New Delhi</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblState</tabLabel>
                                        <value>IN</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblZip</tabLabel>
                                        <value>110091</value>
                                    </text>
                                </textTabs>
                            </tabs>
                        </signer>
                    </signers>
                </recipients>
            </inlineTemplate>
        </inlineTemplates>
    </compositeTemplate>        
    <compositeTemplate>
        <serverTemplates>
            <serverTemplate>
                <sequence>2</sequence>
                <templateId>1C00880D-52BF-4E22-947E-88167F81ED5D </templateId>
            </serverTemplate>
        </serverTemplates>
        <inlineTemplates>
            <inlineTemplate>
                <sequence>1</sequence>
                <recipients>
                    <signers>
                        <signer>
                            <email>nitishalgo@gmail.com</email>
                            <name>Arvind Kejriwal</name>
                            <recipientId>1</recipientId>
                            <roleName>Signer1</roleName>
                            <clientUserId>1</clientUserId>
                            <tabs>
                                <textTabs>
                                    <text>
                                        <tabLabel>\*lblFullName</tabLabel>
                                        <value>Arvind Kejriwal</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblFirstName</tabLabel>
                                        <value>Arvind</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblLastName</tabLabel>
                                        <value>Kejriwal</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblEmail</tabLabel>
                                        <value>nitishalgo@gmail.com</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblPhone</tabLabel>
                                        <value>664646464664644</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblCityStateZip</tabLabel>
                                        <value>New Delhi,IN,110091</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblAddress</tabLabel>
                                        <value>CM aawas</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblCity</tabLabel>
                                        <value>New Delhi</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblState</tabLabel>
                                        <value>IN</value>
                                    </text>
                                    <text>
                                        <tabLabel>\*lblZip</tabLabel>
                                        <value>110091</value>
                                    </text>
                                </textTabs>
                            </tabs>
                        </signer>
                    </signers>
                </recipients>
            </inlineTemplate>
        </inlineTemplates>
    </compositeTemplate>
</compositeTemplates>

You are missing a backslash in the tabLabel properties (it should \\\\* ). 您在tabLabel属性中缺少反斜杠(它应该是\\\\* )。 Try pre-pending another backslash character in your tab labels like this: 尝试在标签标签中预先挂起另一个反斜杠字符,如下所示:

...
<text>
    <tabLabel>\\*lblFullName</tabLabel>
    ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM