Adobe Sign API-创建具有预填充详细信息的小部件 [英] Adobe sign API - create a widget with pre-filling details

查看:257
本文介绍了Adobe Sign API-创建具有预填充详细信息的小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试实现该功能,即用户需要在应用程序流程中签署文档,而不是将文档发送给用户以进行eSignature.

I'm trying to implement the functionality, where users need to sign documents within the application process instead of sending a document to user for eSignature.

我使用Adobe Sign API(使用跟踪帐户)来实现此目的,并且能够创建小部件并获取嵌入的代码以成功在HTML页面中显示文档.

I used Adobe Sign API(using trail account) to achieve this and was able to create a widget and get the embedded code to display the document in the HTML page successfully.

但是,在创建窗口小部件时,我想预填充表单字段并将字段设置为文档中的只读(名字,地址等).我无法访问/自定义提交的表单.

But, while creating the widget I wanted to prefill the form fields and set field as read-only(first_name, address etc) in the document. I'm not able to access/customize form filed.

步骤,我遵循了这一步骤.

steps, I followed to achieve this.

  • 使用Form(4506_T)创建transientDocument. POST - /transientDocuments
  • 使用transientDocumentId创建一个小部件. POST - /widgets
  • 在窗口小部件视图调用响应中获取EmbeddedCode. POST /widgets/{widgetId}/views
  • Create transientDocument using Form(4506_T). POST - /transientDocuments
  • Create a widget using transientDocumentId. POST - /widgets
  • Get embeddedCode in the widget views call response. POST /widgets/{widgetId}/views

但是(API-v5)中的创建小部件模型中有一个称为mergeFieldInfo的东西.设置默认值会有所帮助,但是没有属性可以将字段设置为只读.

But there is something called mergeFieldInfo in create widget model in (API- v5). It'll help to set a default value but there is no attribute to set field as read-only.

我已经在Adobe论坛中搜索了此内容,但是找不到解决方案.

I have searched about this in Adobe forums but cannot find the solution.

*我尝试过的API版本- V6

*API version I have tried- V6

推荐答案

使字段为只读,并使用值预填充字段.

To make field read-only and prefilling fields with value.

首先,我们必须在创建临时文档之前自定义我们的PDF模板. 创建临时文档后,我们可以在创建小部件API中使用mergeFieldInfo设置字段值.

First, we have to customize our PDF template before creating transient document. After creating transient document, We can set field value using mergeFieldInfo in create widget API.

  1. 使用 Adob​​e Sign-在其中创建表单来自定义我们的pdf表单字段杂技演员

使用文本标签 Adob​​e Sign文本标签

这篇关于Adobe Sign API-创建具有预填充详细信息的小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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