如何将过滤器输入的动态值获取到 XSL 变量中?

发布于 2024-10-06 03:12:39 字数 555 浏览 0 评论 0原文

是否可以将动态过滤器输入的值获取到 XSL 中的变量中?

我需要使用此变量来过滤 DVWP

添加更多关于我到底想做什么的信息?

  1. 我需要在页面中有一个下拉菜单。下拉列表的值应该是同一网站中定义的 SharePoint 列表字段中的唯一值。

  2. 现在,当我选择特定值时,该值应该在 XSL 变量中可用。

是否可以使用查询字符串方法 由 Ashutosh Singh 提议

Is it possible to get the value of the dynamic filter input into a variable in XSL?

I need to use this variable to filter the values shown in a DVWP.

Adding a bit more information on what exactly I am trying to do?

  1. I need to have a drop down in the page. The value of the drop down should be a unique value from a field of a SharePoint list defined in the same site.

  2. now when I select a particular value, this value should be available in a XSL variable.

Is it possible to do with the query string method proposed by Ashutosh Singh?

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

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

发布评论

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

评论(1

最美不过初阳 2024-10-13 03:12:39

是的,你可以得到它。您可以使用查询字符串或页面上某些控件的值来实现相同的目的。

使用 URL 参数过滤 DVWP

Yes, you can get it. You can use a query string or a value of some control on your page for the same.

Filtering DVWP using a URL parameter.

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