使用复合模板时多个文档的奇怪行为
Strange behavior with multiple documents when using composite templates
其余的api。通过我们的实施,我们在这里看到了一些有趣的东西。我为信封中的每个文档创建一个复合模板,所以如果有 4 个文档,就会有 4 个复合模板。假设我的信封里有 5 份文件,每份文件都有一个签名标签。我们看到的是,当收件人去处理信封时,他们需要在每个文档上的签名选项卡上单击 5 次才能完成文档处理。如果信封有 4 个文件,则每个签名标签将有 4 次。这似乎与信封中文件的数量有关。这听起来不像我们想要的行为。我们可能做错了什么?
这是正在发送的 JSON:
"compositeTemplates": [
{
"serverTemplates": [
{
"sequence": "1",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "1",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
}
],
"document": {
"documentId": "1",
"name": "e Bookmarks and Tags.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "2",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "2",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "2",
"name": "e Bookmarks and Tags II.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "3",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "3",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "3",
"name": "e Bookmarks and Tags Embedded.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "4",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "4",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "4",
"name": "e Static.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "5",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "5",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "5",
"name": "e Static II.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "6",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "6",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "6",
"name": "e Static Embedded.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
}
],
您使用的服务器模板有定位标签。这是在现有选项卡之上创建重复选项卡。锚选项卡的范围在信封级别,因此如果您指定 5 个复合模板,则每个模板中的锚选项卡将应用于整个信封。
在签字仪式上,您可能会点击 5 个不同的签名标签,这些标签彼此重叠,但认为同一个标签必须点击 5 次。
尝试使用固定定位的标签而不是锚标签。这将解决重复标签问题。
其余的api。通过我们的实施,我们在这里看到了一些有趣的东西。我为信封中的每个文档创建一个复合模板,所以如果有 4 个文档,就会有 4 个复合模板。假设我的信封里有 5 份文件,每份文件都有一个签名标签。我们看到的是,当收件人去处理信封时,他们需要在每个文档上的签名选项卡上单击 5 次才能完成文档处理。如果信封有 4 个文件,则每个签名标签将有 4 次。这似乎与信封中文件的数量有关。这听起来不像我们想要的行为。我们可能做错了什么?
这是正在发送的 JSON:
"compositeTemplates": [
{
"serverTemplates": [
{
"sequence": "1",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "1",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
}
],
"document": {
"documentId": "1",
"name": "e Bookmarks and Tags.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "2",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "2",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "2",
"name": "e Bookmarks and Tags II.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "3",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "3",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "3",
"name": "e Bookmarks and Tags Embedded.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "4",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "4",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "4",
"name": "e Static.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "5",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "5",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "5",
"name": "e Static II.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
},
{
"serverTemplates": [
{
"sequence": "6",
"templateId": "15a22617-4525-438c-aaf1-45f8632ba2d1"
}
],
"inlineTemplates": [
{
"sequence": "6",
"recipients": {
"signers": [
{
"name": "BAT SDTwo",
"email": "ashish.dave@gmail.com",
"recipientId": "6116945",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "1",
"note": "",
"roleName": "Customer_SellerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
},
{
"name": "SpouseF SpouseL",
"email": "ashish.dave@gmail.com",
"recipientId": "6116946",
"accessCode": "4792989",
"customFields": [],
"routingOrder": "2",
"note": "",
"roleName": "Spouse_CoOwnerName",
"emailNotification": {
"emailSubject": "Please sign the document(s)",
"emailBody": "Hello,\r\n\r\nYour consultant has sent you a new document to view and sign. Please click on the View Documents link below, review the content, and sign the Cartus document. If you have any questions, please contact your consultant.\r\n\r\nThank you!",
"supportedLanguage": "en"
}
}
],
"certifiedDeliveries": []
},
}
],
"document": {
"documentId": "6",
"name": "e Static Embedded.pdf",
"fileExtension": ".pdf",
"documentBase64": "[Document:Base64Array]"
}
}
],
您使用的服务器模板有定位标签。这是在现有选项卡之上创建重复选项卡。锚选项卡的范围在信封级别,因此如果您指定 5 个复合模板,则每个模板中的锚选项卡将应用于整个信封。
在签字仪式上,您可能会点击 5 个不同的签名标签,这些标签彼此重叠,但认为同一个标签必须点击 5 次。
尝试使用固定定位的标签而不是锚标签。这将解决重复标签问题。