使用 InfoPath 列表更新 SharePoint 列表?

发布于 2024-11-05 09:30:21 字数 363 浏览 9 评论 0原文

我想使用 InfoPath 更新/创建 SharePoint 列表。到目前为止,我已经创建了表单,当我选择“提交”按钮时,我已经设置程序来指示表单是否已成功提交,并且我确实收到了此消息。但是,当我查看 SharePoint 列表(其中指定了我希望该列表驻留在其中的程序)时,没有任何更新。

我正在从数据库中提取数据,并且条件已设置并且查询到的数据是正确的。一旦我弄清楚如何将 InfoPath 列表连接到 SharePoint 列表,其他一切都会变得轻而易举。我所看到的每一个地方都表明这是不可能的,不幸的是它看起来是这样。必须有某种解决办法。我最近几个月才开始使用 InfoPath 和 SharePoint(字面上的意思),我可能需要有人引导我完成这一切,因为办公室里没有其他人知道这些程序。

I want to update/create a SharePoint List using InfoPath. So far I have the form created and when I select the 'Submit' button I have set the program to indicate if the form was submitted successfully and I do receive this message. However, when I look at the SharePoint List where I indicated the program where I want the list to reside, there are no updates.

I am pulling data from the database and the conditions are set and the data queried is correct. Everything else will be a breeze as soon as I can figure out how to connect InfoPath List to the SharePoint List. Every where I am looking indicates this is not possible and unfortuatly it is seeming this way. There has to be some kind of work around. I have only been working with InfoPath and SharePoint for the last few months (literally), I may need someone to walk me through this as no one else in the office knows these programs.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

弥繁 2024-11-12 09:30:21

我认为最简单的方法是让您的 InfoPath 表单调用 Web 服务。在网络服务中你可以做任何你想做的事;创建列表、创建列表项或任何其他内容。

I think the simplest way is to make your InfoPath form call a web service. In the web service you can do whatever you want; create a list, create a list item or any other thing.

暖树树初阳… 2024-11-12 09:30:21

我认为如果您更好地解释一下您到底想要完成什么,这可能会有所帮助...

您是否正在尝试在 SharePoint 中创建列表或更新列表?当您查询数据库时,您是否尝试在现有列表中插入新值或创建新列表并插入值。

您可以通过在列表表单后面编写代码,然后将其发布为沙盒或管理员批准的表单来完成此操作(将行插入现有列表)。

如果这是您想要做的,那么在 SharePoint 中创建列表,将列表表单从 SharePoint 导出到 Infopath(以便您将列表字段作为您的主连接),然后编写代码来执行您想要执行的任何操作,即从数据库并添加到列表中。

I think it might help if you explained a little better what exactly you're trying to accomplish...

Are you trying to CREATE a list or UPDATE a list in SharePoint? When you query the database, are you trying to insert new values in an existing list or create a new list and insert the values.

You could probably accomplish this (inserting rows into an existing list) by writing code behind the list form and then publishing it as a sandboxed or Admin Approved form.

If this is what you want to do then create the list in SharePoint, export the list form from SharePoint into Infopath (so that you have the list fields as your main connection) then write code to do whatever you want to do i.e. retrieve data from the database and add to the list.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文