表单库中的上下文感知 SharePoint 自定义操作
我正在尝试创建一个自定义视图,用于根据已提交到 SharePoint 表单库的 InfoPath 表单项创建报告。
我想要
- 在列表视图中每个列表项旁边显示一个复选框
- 在“操作”菜单中创建一个名为“创建报告”的自定义操作
- 单击操作按钮时,运行识别复选框的代码
我确信有关于如何操作的良好文档创建自定义操作。
但是如何在视图中的列表项旁边显示复选框?
如何确定运行自定义操作代码时检查了哪些项目?
表单库“重新链接文档”视图中的功能与我想要完成的功能类似。
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
- expose a checkbox next to each list item in a list view
- create a custom action in the Actions menu titled "Create Report"
- 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
博客文章“在 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.