如何通过 Docusign API 将动态图像添加到 Docusign 文档

How to Add Dynamic Image to Docusign Document via Docusign API(如何通过 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.

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.

解决方案

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

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.

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

  • 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.

Added

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 文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

MSBuild cannot find a reference(MSBuild 找不到参考)
The reference assemblies for framework .NETCore, Version=v5.0 were not found(未找到框架 .NETCore,Version=v5.0 的参考程序集)
quot;File has a different computed hash than specified in manifestquot; error when signing the EXE(“文件的计算哈希值与清单中指定的不同签署EXE时出错)
MS-Build BeforeBuild not firing(MS-Build BeforeBuild 未触发)
Using C# 7.1 with MSBuild(将 C# 7.1 与 MSBuild 结合使用)
Build project with Microsoft.Build API(使用 Microsoft.Build API 构建项目)