动态 SharePoint 导航链接

发布于 2024-07-14 07:25:06 字数 352 浏览 3 评论 0原文

SharePoint 内部的网站设置>> 外观和感觉>> 导航您可以放下一些链接条目进行导航。 我的问题是,除了编写功能之外,是否有任何简单的方法可以使链接动态化,以便它们附加正在查看的当前页面的查询字符串?

编辑: 当您导航到网页时,URL 可以包含参数,这称为查询字符串。 SharePoint 也不例外,您可以将浏览器指向的 URL 与查询字符串一起使用。 SharePoint 中的页面通常有一个快速启动左侧导航区域,它会在其中呈现预定义 URL 的静态列表。 我想要做的是让这些静态链接是动态的,因为它们复制查询字符串并将其附加到我从当前正在查看的页面定义的静态 URL,该页面可能有也可能没有查询字符串。

Inside of SharePoint under site settings >> look and feel >> Navigation you have the ability to throw down some link entries for navigation. My question is is there any simple way short of writing a feature, to somehow make the links dynamic so that they will append the query string of the current page that is being viewed?

Edit:
When you navigate to a web page the URL can have arguments, this is known as the query string. SharePoint is no different you can have URL's that you point your browser to along with a query string. The pages in SharePoint typically have a quick launch left nav area where it renders out a static list of pre-defined URL's. What I want to do is have these static links be dynamic in that they copy the query string and append it to the static url that I defined from the page that is currently being viewed which may or may not have a query string.

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

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

发布评论

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

评论(1

伴梦长久 2024-07-21 07:25:06

我认为你所要求的东西是不可能的。 您可以执行此操作的唯一方法是创建一个新的提供程序并在菜单上配置它。 这个新的提供程序可以检查导航选项中的某些类型的项目并返回您想要的 URL。

I think you're asking for something that it's impossible. The only way you could do something of that is creating a new provider and configure it on the menu. This new provider could check some kinds of items in the Navigation option and returns the url you want it.

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