Docusign: Dynamically Populate Fields In Document

霸气de小男生 提交于 2019-12-18 05:07:19

问题


I am using docusign to send off vendor agreements. The agreements are all the same wording, except for vendor name and address. Is there a way I can pass information to the envelope creation script (PHP) to dynamically populate name and address fields on a template document?


回答1:


Yes you can definitely populate tabs in an embedded signing view. This is all controlled through the

tabLabel 

property of each tab in your request body. For instance, if you login to the DocuSign Console and add two data fields (textTabs) to your envelope where one has the label "email" and the other has a label of "address" then the following JSON body prefills those tabs based on the value passed.

        "tabs": {
        "textTabs": [
            {
                "tabLabel": "address",
                "value": "123 Main St. SF, CA"
            },
            {
                "tabLabel": "email",
                "value": "sample@email.com"
            }
        ]
    }
}
],
"status": "sent"
}


来源:https://stackoverflow.com/questions/18925536/docusign-dynamically-populate-fields-in-document

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!