Infopath SharePoint 文档库
我需要在工作流的信息路径表单上显示用户有权访问的文档库列表。我可以很好地构建我的库列表,但我一生都无法弄清楚如何使用库列表填充(无论如何)信息路径表单,并允许用户以某种方式说“是”或“否”每个(复选框是理想的,但此时我会采取任何措施)。
基本上我只需要弄清楚如何在加载事件中向用户添加是/否的项目列表,这样我就可以获取该信息并用它做一些事情。
I need to display a list of document libraries a user has permission to on an infopath form for a workflow. I can build my list of libraries just fine but I can not for the life of me figure out how to populate (in anyway) the infopath form with the list of libraries and allow the user to somehow say "yes" or "no" to each (checkbox is ideal but I'll take anything at this point).
Basically I just need to figure out how to add a list of items for yes/no to a user in the loading event so I can take that information and do something with it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我倾向于使用具有两列的重复表,一列包含复选框,一列包含标签。将它们正确地组合在一个模式中,然后您可以在后面弹出一些代码以迭代库列表并将节点弹出到此预填充的重复表的末尾。
以下是在 InfoPath 表单上的重复表内设置标签的示例:
I tend to use a repeating table with two columns, one containing a checkbox and one a label. Group these together properly in a schema then you can pop some code behind in to iterate through your list of libraries and pop nodes onto the end of this repeating table pre populated.
Here is an example that sets a label inside a repeating table on an InfoPath form: