【问题标题】:Need help regarding DocuSign eSignature url?需要有关 DocuSign 电子签名网址的帮助?
【发布时间】:2019-08-30 16:17:58
【问题描述】:

每当创建新记录并将信封 ID 存储在父记录上时,我们都会使用 DocuSign Apex 工具包生成并拥有一个 DocuSign 信封。我们有一个闪电组件,我们希望在其上将 Envelope 显示为 iframe。我们正在使用 DocuSign“getSigningUrl”和“getEmbeddedSigningUrl”方法。前一个返回“null”,后一个返回错误,因为“您确定的收件人不是指定信封的有效收件人。”。请提出建议。

使用嵌入式方法

Url retUrl = new Url('[sfdc base url]');
String envelopeID = 'B33EBEFD-A64F-4D86-9034-6700AFB22EEE';
dfsle.UUID uid = dfsle.UUID.parse(envelopeID);
Url u = dfsle.SigningService.getEmbeddedSigningUrl(uid,retUrl);
System.debug('u---->'+u);

使用签名 url 方法

String envelopeID = 'a271h000000L55d';
dfsle.Envelope e = dfsle.EnvelopeService.getEnvelope(envelopeID);
System.debug('e---->'+e);
Url retUrl = new Url('[sfdc base url]');
Url u = dfsle.SigningService.getSigningUrl(e,retUrl,true );
System.debug('u---->'+u);

【问题讨论】:

    标签: docusignapi


    【解决方案1】:

    您必须确保:

    1. 信封已发送。它不处于“草稿”状态,也不处于任何其他状态(如已完成或无效)
    2. 签名者的用户 ID 是此信封收件人的正确电子邮件/姓名组合。
    3. 您的信封ID 有效。在您的第二个代码中,您的信封不是 GUID。 EnvelopeID 始终是一个 GUID。

    【讨论】:

      猜你喜欢
      • 2019-02-05
      • 1970-01-01
      • 2015-06-23
      • 2014-12-26
      • 2013-08-12
      • 2014-06-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多