SharePoint Designer 数据视图列作为参数
我正在尝试找到一种在数据视图中显示列的方法,我在创建页面时可能不知道该列的字段名称,但可以在页面上作为参数进行选择。我正在通过工作流/Web 服务在列表上创建一个列(映射到特定 Sharepoint 组的新人员或组列)。我还在不同的列表上创建一个具有相同名称的项目。用户将可以选择在页面上半部分的数据视图中选择组名称,因为它作为列表框选项包含在内。然后,当选择时,我想将所选组显示为另一个数据视图中页面下半部分的一列。是否可以在数据视图 Web 部件中获取列名称作为变量或参数?
I am trying to find a way to show a column in a dataview that I may not know the field name of when creating the page, but will be selectable on the page as a parameter. I am creating a column on a list through workflow/web services (a new person or group column which is mapped to a specific Sharepoint Group). I am also creating an item on a different list with the same name. The user will have an option to select select the group name in the dataview on the top half on the page, as it is included as a listbox selection. Then, when selected, I would like to show the selected group as a column in the lower half of the page in another dataview. Is it possible to get a column name as a variable or parameter in a data view web part?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,不可能将其作为 xsl 列名称。但您可以使用 JavaScript 来提取信息
http://darrenjohnstone.net/2008/07/22/examples-for-the-sharepoint-and-office-live-javascript-api/#topic-5
No it would not be possible to have it as xsl column name. but you can use JavaScript to pull information
http://darrenjohnstone.net/2008/07/22/examples-for-the-sharepoint-and-office-live-javascript-api/#topic-5