从信封中取出模板角色 [英] Remove templaterole from envelope

查看:78
本文介绍了从信封中取出模板角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有签署者和CarbonCopy角色的模板。我从模板创建信封。有时我没有用于CC模板角色的CC电子邮件。如果我将其保留为空白,或者如果我不提供相应的xml,则在两种情况下都将收到无效的电子邮件地址错误。该角色不是必需的,所以我不明白为什么会发生此错误。有什么方法可以从信封中除去模板角色以防止这种情况?

I have a template with a Signer and a CarbonCopy role. I create envelopes from the template. Sometimes I don't have a CC email to use for the CC templaterole. If I leave it blank, or if I don't provide the corresponding xml, (in both cases) I get an INVALID EMAIL ADDRESS error. The role is not set to be required, so I don't understand why this error occurs. Is there any way to remove the templaterole from the envelope to prevent this ?

推荐答案

弄清楚了这一点。我的解决方法:

Figured this out. My resolution:

模板中仅具有签名者角色。

Have only the signer role in the template.

在调用创建信封后(状态创建),对收件人执行GET操作

After the call to create envelope (status created), do a GET on recipients

解析/捕获/存储签署者标签的内容

Parse/capture/store the contents of the signers tag

构建整个收件人标签的xml,包括signers标签的内容和所需的所有carbonCopy标签

Build xml for the entire recipients tag, inclusive of the contents of the signers tag and all the carbonCopy tags that you want

POST到收件人

这篇关于从信封中取出模板角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆