如何通过Docusign API将动态图像添加到Docusign文档 [英] How to Add Dynamic Image to Docusign Document via Docusign API

查看:78
本文介绍了如何通过Docusign API将动态图像添加到Docusign文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道Docusign API是否可行,但是我很好奇您是否可以将动态图像添加到模板文档中。此动态图像的目的是根据发送文档的人设置文档徽标。我知道Docusign具有商标,但我们希望此图像位于模板文档上的特定位置。如果有人知道这是否可行,那么如果您能指出正确的方向,我将非常高兴。

I don't know if this is possible with the Docusign API, but I was curious if you can add dynamic images to a template document. The purpose of this dynamic image would be to set a logo for the document depending on who's sending it. I know Docusign has branding, but we would like this image to be in a particular location on the template document. If anyone knows if this is possible, I would be extremely happy if you can point me in the right direction.

我已经做了大量研究,并做了一些研究。 c#SDK,我对如何实现这样的东西没有太多的看法。

I've done plenty of research and checked a little into the c# SDK and I'm not seeing too much on how to implement something like this.

关于此的任何信息都将提供帮助,甚至提供某种解决方法。

Any information on this would help or even some kind of workaround.

推荐答案

听起来像您想在文档中的特定位置使用图像 A (或图像 B 等)。

Sounds like you want to use image A in a specific location within the document (or image B, etc).

这是文档本身的一个方面。因此,您每次都需要向DocuSign发送一个新文档(其中包含不同的图像)。

This is an aspect of the document itself. So you'll need to send DocuSign a new document (that contains the different image) each time.

换句话说,您希望自定义文档生成。使用DocuSign可以完成自定义文档生成的几种方法:

To put it another way, you want custom document generation. There are several ways to accomplish custom document generation with DocuSign:


  • 使用 DocuSign文档生成系统。

  • 动态创建文档。根据您的需要,一种简单的格式是向DocuSign发送HTML文档。请注意,您需要对图像进行BASE64编码并使用嵌入式CSS。

  • 通过创建自定义PDF即时创建/更新文档。有很多PDF库可供选择。

  • 创建/更新其他格式,如Word。您可以以编程方式更改Word文档。

  • Use the DocuSign document generation system.
  • Create the document on the fly. Depending on your needs, one easy format is to send DocuSign an HTML document. Note that you'll need to BASE64 encode the image(s) and use inline CSS.
  • Create/update the document on the fly by creating a custom PDF. There are many PDF libraries to choose from.
  • Create/update another format such as Word. You can programmatically change Word documents.

已添加

创建文档的另一个选项是提供HTML作为响应签名/智能部分功能的一部分。这使您可以创建一个HTML文档,该文档在HTML本身内包括字段(选项卡)定义。 文档第1部分。 (请参阅导航窗格中的其他文档。)

Another option for creating a document is to supply HTML as part of the Responsive Signing / Smart Sections feature. This enables you to create an HTML document that includes the field (tab) definitions within the HTML itself. Documentation part 1. (See the navigation pane for the additional docs.)

这篇关于如何通过Docusign API将动态图像添加到Docusign文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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