将超链接列添加到 InfoPath 2010 重复表

发布于 2024-11-17 17:27:33 字数 390 浏览 8 评论 0原文

我正在使用 InfoPath 2010 自定义 SharePoint 2010 列表表单。 Infopath 表单显示来自两个 SharePoint 列表(父列表和子列表)的数据。父列表是主要数据连接。子列表是绑定到辅助数据连接的重复表。 我想向重复表中的每一行添加一个“打开”链接,链接到完整的子记录。

该链接类似于 http://myserver/_layouts/listform.aspx?ListId= {LIST_GUID}&ID=THE_LIST_ITEM_ID。

为此,我基本上想向重复表添加一列并使用 XPath 生成链接标记,但我不知道如何做到这一点。

I'm using InfoPath 2010 to customize a SharePoint 2010 list form. The Infopath form shows data from two SharePoint lists, a Parent list and Child list. The Parent list is the primary data connection. The Child list is a repeating table bound to a secondary data connection.
I would like to add an "Open" link to each row in the repeating table that links to the full child record.

The link would be something like http://myserver/_layouts/listform.aspx?ListId={LIST_GUID}&ID=THE_LIST_ITEM_ID.

To do this I bascially want to add a column to the repeating table and use XPath to generate the link tag but I can't figure out how to do that.

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

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

发布评论

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

评论(1

沙沙粒小 2024-11-24 17:27:33

正如您所说,您只需向数据类型为“Hyperlink (anyURI)”的重复表添加一个新字段,然后将该字段的默认值设置为“concact(http://myserver/_layouts/listform.aspx) ?ListId=; LIST_GUID)" 因为 LIST_GUID 是同一个重复表的一个字段,所以

我创建了一个测试表单,我正是这样做的 - http://db.tt/dPW7Gll

As you've said, you simply add a new field to the repeating table with data-type "Hyperlink (anyURI) and then you set the default value of that field to "concact(http://myserver/_layouts/listform.aspx?ListId=; LIST_GUID)" where as the LIST_GUID is a field of that same repeating table

i've created a test-form where ive done exactly that - http://db.tt/dPW7Gll

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