将超链接列添加到 InfoPath 2010 重复表
我正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您所说,您只需向数据类型为“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