douzhuo6270 2016-10-17 16:24
浏览 47

Docusign api php添加签名者即时模板

when i add new recepient and sent the document in template using below code

$templateRole = new  \DocuSign\eSign\Model\TemplateRole();
$templateRole->setEmail("user@email.com");
$templateRole->setName("User Name");
$templateRole->setRoleName("Admin");

I use Docusign Php Client, you can find the whole code below I used for this on that page.

Here it send the email containing document to user@email.com, but user@email.com's user is not able to sign that document.

I've also added the dynamic text to the document in the template.Added one signer recipient to template (because i was not able to add the dynamic labels without it), this user get all the emails even i don't specify him on the above code.

I want something like to send a document in template to different recepients (like user1@gmail.com, user2@gmail.com etc) one at a time (they may or may not have docusign account, though is it possible if they have docusign account?)

I am doing this since 4 days, not finding anything about proceeding furthur, please help.

  • 写回答

1条回答 默认 最新

  • dongzhou4727 2016-10-19 10:00
    关注

    I have read some of the documentation. As far as I can see you should do the following:

    //first signer
    $templateRole1 = new  \DocuSign\eSign\Model\TemplateRole();
    $templateRole1->setEmail("user1@email.com");
    $templateRole1->setName("User1 Name");
    $templateRole1->setRoleName("Admin");
    
    //second singer
    $templateRole2 = new  \DocuSign\eSign\Model\TemplateRole();
    $templateRole2->setEmail("user2@email.com");
    $templateRole2->setName("User2 Name");
    $templateRole2->setRoleName("Admin");
    

    And then in the envelop:

    $envelop_definition->setTemplateRoles(array($templateRole1, $templateRole2));
    
    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题