将数据从pdf表单中提取到sharepoint 2013列表中,而无需沙箱/农场解决方案 [英] extract data from pdf form into sharepoint 2013 list without sandbox/farm solution

查看:73
本文介绍了将数据从pdf表单中提取到sharepoint 2013列表中,而无需沙箱/农场解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要能够从中提取数据pdf填写表格到共享点列表中,而不使用Farm或沙盒解决方案.

Need to be able to extract data from  pdf fillable forms into sharepoint list NOT using a Farm or sandbox solution.

管理员已限制使用服务器场或沙箱解决方案,寻找从pdf表单中提取数据的方法

Admin has restricted the use of farm or sandbox solutions, searching for method to extract data from pdf forms

直接进入sharepoint 2013列表. PDF表单将以infopath表单存在,但可以上载到文档库.

directly into sharepoint 2013 list.  PDF forms will live in infopath form, but can be uploaded to a document library.

感谢

推荐答案

可填充pdf表单与InfoPath表单之间存在差异.使用InfoPath时,用户提交的数据将以xml文件形式存储到doclib中:请参见例如 在SharePoint表单库中解析InfoPath表单,其中有"SharePoint如何使用InfoPath表单存储数据"部分.因此,为了获取提交的数据,您需要解析此xml文件并从中获取值.无需农场/沙盒即可完成 使用客户端对象模型或javascript对象模型的解决方案:

there is difference between fillable pdf forms and InfoPath forms. When InfoPath is used data submitted by users is stored to doclib as xml file: see e.g. Parsing InfoPath Forms in a SharePoint Form Library, there is section "How SharePoint Uses InfoPath Forms to Store Data". So in order to get submitted data you need to parse this xml file and get values from there. It can be done without farm/sandbox solutions using client side object model or javascript object model:

-CSOM: 使用CSOM读取SharePoint文档库文件

- CSOM: Read SharePoint Document Library File using CSOM

-JSOM:

- JSOM: How to read file content in sharepoint JSOM

两个示例都说明了如何获取文件内容.一旦拥有它,您将需要使用标准.Net解析xml. XDocument类.

Both examples show how to get file content. Once you will have it you will need to parse xml using standard .Net XDocument class.


这篇关于将数据从pdf表单中提取到sharepoint 2013列表中,而无需沙箱/农场解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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