You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何通过SharePoint REST API获取分类术语URL?属性选择咨询

SharePoint REST API 获取分类术语URL的属性说明

你需要把{URL?}替换为localizedProperties——术语的导航URL是存储在localizedProperties数组的navigationUrl字段中的。

调整后的请求示例:

_api/v2.1/termStore/groups/{groupId}/sets/{setId}/terms/{termId}?$select=*,localizedProperties

返回响应里的localizedProperties是多语言配置数组,每个元素对应一种语言的术语设置,其中的navigationUrl就是你要的术语URL,结构大概如下:

{
  "localizedProperties": [
    {
      "languageTag": "zh-CN",
      "name": "示例术语",
      "description": "术语描述",
      "navigationUrl": "https://your-sharepoint-site/path"
    }
  ]
}

如果术语未设置导航URL,navigationUrl字段会返回null或不显示。

内容的提问来源于stack exchange,提问作者Ricola

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.14 10:20:25