簡體   English   中英

為信封填寫多個文檔

[英]Fill multiple document for an envelope

我想使用文本選項卡預填我的所有文檔,但每次只填充第一個文檔,如果我對整個信封中的任何字段使用相同的lablename,那么其他文檔字段也不會被填充直到除非我將任何事件作為keyup,keydown for第一份文件中的穿孔標簽。 這是我的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>

您在tabLabel屬性中缺少反斜杠(它應該是\\\\* )。 嘗試在標簽標簽中預先掛起另一個反斜杠字符,如下所示:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM