Ho più schede di testo che hanno tutte la stessa identica etichetta in un modello. Quando invio i dati della scheda del destinatario per la precompilazione, solo il primo è precompilato, il resto è vuoto.DocuSign: come precompilare più schede di testo con la stessa etichetta?
Ho trovato this support ticket. Ma contiene contraddicendo informazioni:
Yes I believe you do need to set the value 10 times (one for each text tab),
...
So if you give them all the same label and make them editable (by setting "locked" to false) then when a recipient types a value into one text box ALL of them will get updated with that value.
Se sono tutti riconosciuti come uno, perché fare l'API necessità di inviare gli stessi dati 10 volte? Se invia le informazioni 5 volte, quali schede sono riempite? I primi 5? 5 di loro a caso?
Si noti che posso ottenere le schede di testo con le etichette univoche precompilate.
EDIT:
Ecco la discarica JSON della richiesta:
{
"compositeTemplates": null,
"status": "sent",
"allowReassign": false,
"allowRecipientRecursion": false,
"templateRoles": [
{
"name": "Atamert Olcgen",
"tabs": {
"radioGroupTabs": [],
"textTabs": [
...
{
"name": "Text",
"value": "<EMAIL1>",
"tabLabel": "Email"
},
...
{
"name": "Text",
"value": "Atamert Olcgen",
"tabLabel": "FullName"
},
...
],
"checkboxTabs": []
},
"recipientId": "1",
"accessCode": null,
"clientUserId": "******",
"roleName": "Client",
"emailNotification": null,
"email": "<EMAIL1>"
},
{
"name": "*****",
"tabs": {
... // Secondary signer, mostly empty
},
"recipientId": "2",
"accessCode": null,
"clientUserId": null,
"roleName": "!",
"emailNotification": null,
"email": "<EMAIL2>"
},
{
"name": "******",
"tabs": {
"radioGroupTabs": [],
"textTabs": [],
"checkboxTabs": []
},
"recipientId": "1",
"accessCode": null,
"clientUserId": null,
"roleName": "EmailOnlyRecipient",
"emailNotification": null,
"email": "<EMAIL3>"
}
],
"enableWetSign": false,
"signingLocation": "Online",
"eventNotification": null,
"enforceSignerVisibility": false,
"brandId": "",
"allowMarkup": false,
"envelopeIdStamping": false,
"asynchronous": false,
"templateId": "<TEMPLATE_ID>",
"emailBlurb": "",
"customFields": null,
"authoritativeCopy": false,
"emailSubject": "<PRODUCT> - Secure Authorization Document",
"autoNavigation": false
}
(Ho rimosso alcune informazioni sensibili)
Ed ecco la risposta JSON:
{
"envelopeId": "******",
"uri": "/envelopes/******",
"statusDateTime": "2013-08-12T10:25:00.7159991Z",
"status": "sent"
}
Come ho detto sopra il primo La scheda FullName
è precompilata, quelle successive sono vuote.
Grazie a questo problema risolto. Ma perché non era questo il comportamento predefinito? Tutti gli sviluppatori che ho menzionato in questo numero hanno espresso perplessità. Perché qualcuno dovrebbe dare lo stesso nome a due schede se non si aspettano che vengano riempite con lo stesso valore? – muhuk
Sono d'accordo @muhuk questo è mal progettato, e non documentato bene nei loro documenti API. –
Per coloro che sono curiosi di vedere questo nella documentazione stessa.Può essere trovato [qui a DocuSign Documentazione API] (https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Tabs/Automatically%20Populating%20Tabs.htm) – acorre