表单库中的上下文感知 SharePoint 自定义操作

发布于 2024-12-17 16:43:32 字数 345 浏览 5 评论 0原文

我正在尝试创建一个自定义视图,用于根据已提交到 SharePoint 表单库的 InfoPath 表单项创建报告。

我想要

  1. 在列表视图中每个列表项旁边显示一个复选框
  2. 在“操作”菜单中创建一个名为“创建报告”的自定义操作
  3. 单击操作按钮时,运行识别复选框的代码

我确信有关于如何操作的良好文档创建自定义操作。

但是如何在视图中的列表项旁边显示复选框?
如何确定运行自定义操作代码时检查了哪些项目?

表单库“重新链接文档”视图中的功能与我想要完成的功能类似。

I'm trying to create a custom view for creating reports based on InfoPath form items which have been submitted to a SharePoint Form Library.

I want to

  1. expose a checkbox next to each list item in a list view
  2. create a custom action in the Actions menu titled "Create Report"
  3. when the action button is clicked, run code which is aware of the checked boxes

I am sure there is good documentation on how to create a custom action.

But how would you expose a checkbox alongside list items in a view?
And how can you determine which items were checked when running the custom action code?

The functionality in the form library "Relink Documents" view is similar to what I would like to accomplish.

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

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

发布评论

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

评论(1

空城旧梦 2024-12-24 16:43:32

博客文章“在 SharePoint 功能中选择多个列表项”完全涵盖了您想要的内容,并显示了分步说明,包括具有复选框列的代码和压缩所选项目并下载

A blog post "Select Multiple List Items in SharePoint Feature" covers exactly what you want and shows step-by-step instructions including code to have a checbox column and a custom action that zips selected items and downloads them.

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