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

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)