我想向我的DocuSign文档添加邮编列表,但它似乎是停止显示任何选项卡。唯一的其他选项卡是GitHub上PHP SDK中显示的setSignHereTabs选项卡。自定义选项卡不工作
// add postcode tab
$postcodeTab = new DocuSign\eSign\Model\Text();
$postcodeTab->setDocumentId = ("1");
$postcodeTab->setRecipientId = ("1");
$postcodeTab->setPageNumber = ("1");
$postcodeTab->setName = ("postcodes");
$postcodeTab->setTabLabel = ("ReadOnlyDataField");
$postcodeTab->setValue = ($postcodes);
$postcodeTab->setLocked = ("true");
$postcodeTab->setXPosition = ("100");
$postcodeTab->setYPosition = ("100");
// add the postcode tab to the envelope's list of tabs
$tabs = new DocuSign\eSign\Model\Tabs();
$tabs->setTextTabs(array($postcodeTab));
我通过链接使用REST API文档和“数据域”部分下作为指导:
https://www.docusign.com/developer-center/explore/features/stick-etabs
没有错误显示在Apache的错误日志。任何帮助,将不胜感激。
GitHub的链接
https://github.com/docusign/docusign-php-client
REST API文档
https://docs.docusign.com/esign/
这可能是他们的支持团队回答的问题。另外,为什么你用多余的括号'('和')'来包围你的字符串? – FrankerZ
我只是保持在这里显示的内容: https://github.com/docusign/docusign-php-client/blob/master/test/UnitTests.php – Cozmoz
@Cozmoz .. [DocuSign PHP客户端](https://github.com/docusign/docusign-php-client)使用Rest Api。 –