简体   繁体   English

拍摄共享点信息路径表格的快照

[英]Taking snapshot of sharepoint infopath form

programatically i want to take snapshot of a infopath form which is in formlibrary. 以编程方式,我想拍摄形式库中的信息路径形式的快照。 I have used many third party tools they all working fine for other sites. 我已经使用了许多第三方工具,它们在其他站点上都能正常工作。 but it is not working correctly for sharepoint sites. 但是它对于Sharepoint网站无法正常工作。 If it works for sharepoint sites it is not able to do for infopath form. 如果它适用于SharePoint网站,则无法使用infopath表单。

When i try to take snapshot of a infopath form the ribbon controls are coming the output but the needed form is not in the pdf output. 当我尝试拍摄信息路径的快照时,功能区控件即将输出,但所需的表单不在pdf输出中。 Is infopath is a silverlight application. infopath是Silverlight应用程序吗? Why i am not able to take snapshot of that . 为什么我无法对此进行快照。 Any idea. 任何想法。

I have a less cost solutions for you if you are interested: 如果您有兴趣,我为您提供了一种成本更低的解决方案:

  1. use a builded workflow ( http://smallbusiness.chron.com/convert-pdf-sharepoint-workflow-31202.html ) to be able to convert a form into a library. 使用构建的工作流( http://smallbusiness.chron.com/convert-pdf-sharepoint-workflow-31202.html )能够将表单转换为库。

  2. use iTextSharp with c# to code your form into PDF by this steps: a. 通过以下步骤将iTextSharp与c#一起使用,将您的表单编码为PDF: create the pdf in memorystream. 在memorystream中创建pdf。 b. b。 encode your pdf into an attachment using this: ( https://support.microsoft.com/en-us/kb/2517906 ) 使用以下代码将pdf编码为附件:( https://support.microsoft.com/en-us/kb/2517906

G ood L uck ! 祝好运 ! ! !

Your question is not completely clear, but you mention PDF so it sounds like you want to take PDF based snapshots from your InfoPath form. 您的问题尚不完全清楚,但是您提到了PDF,所以听起来您想从InfoPath表单中获取基于PDF的快照。

Have a look at this post that I wrote some time ago. 看看我前一段时间写的这篇文章 It uses a (our) third party product for converting files in SharePoint, including InfoPath, to PDF. 它使用(我们的)第三方产品将SharePoint中的文件(包括InfoPath)转换为PDF。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM