Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法检查一个值是否已经在来自 InfoPath 表单的 SharePoint 列表中,而无需隐藏代码?该表单已启用浏览器,因此我无法使用脚本或托管代码。
您可以创建到共享点列表的数据连接,并在呈现列表数据时将其加载到 InfoPath 表单中。然后,您可以使用 InfoPath“规则”检查给定列表是否包含您要查找的值。
如果列表中有很多行,则规则可能会变得非常复杂。如果你能更具体一点,我可能会给你一个更详细的答案。
像 Tomso 指出的那样,您必须通过接收数据连接将数据拉入 InfoPath,然后在 InfoPath 中执行必要的逻辑。