如何通过将InfoPath字段划分为多个部分,将单个InfoPath列表中的数据提交到不同的SharePoint列表? [英] How to Submit data in single InfoPath list to different SharePoint lists by dividing the InfoPath fields into sections?

查看:87
本文介绍了如何通过将InfoPath字段划分为多个部分,将单个InfoPath列表中的数据提交到不同的SharePoint列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不想像往常那样将InfoPath列表字段的数据提交到单个SharePoint列表。例如,我想将一半字段的数据提交到一个SharePoint列表并保留到不同的SharePoint列表。我研究了如何从单个InfoPath列表中的外部SharePoint列表中获取数据,但在这里我谈的是完全相反的情况。



请有人帮我解决我的问题。

I do not want to submit InfoPath list field's data to single SharePoint list as we usually do. Rather for example,I want to submit half of the field's data to one SharePoint list and remaining to the different SharePoint list. I worked on how to fetch data from external SharePoint lists in single InfoPath list but here I am talking about exactly opposite scenario.

Please anyone could help me to fix my problem.

推荐答案

一种方法是使用不同的提交连接,每个提交连接都有来自不同SharePoint列表的字段。在按钮上单击编写规则以填充这些连接字段中的数据并一个接一个地调用提交连接。



其他方法是编写WCF服务并将其用作InfoPath表单中的提交连接。在WCF服务中,您可以编写逻辑来隔离不同的列表相关数据。



另一种方法是在InfoPath表单中编写VSTA代码并使用SharePoint对象模型提交SharePoint列表中的数据。
One way would be having different submit connection with each having the fields from the different SharePoint list. On button click write a rule to populate the data in these connection fields and call both submit connection one after the other.

Other way to do it would be writing a WCF service and using it as Submit connection in the InfoPath form. In WCF service you can write the logic to segregate the different list related data.

Another way would be writing a VSTA code in the InfoPath form and using SharePoint object model to submit the data in the SharePoint list.


这篇关于如何通过将InfoPath字段划分为多个部分,将单个InfoPath列表中的数据提交到不同的SharePoint列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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