【问题标题】:KQL (Keyword not Kusto) Nesting, Document Selecting for an ExtranetKQL(关键字不是 Kusto)嵌套,外联网的文档选择
【发布时间】:2022-01-26 11:21:18
【问题描述】:

老会员,好久没发帖了。正在构建一个外联网,但遇到了一个令人沮丧的愚蠢问题。第一次使用 SharePoint Online 作为外部(匿名)用户的文档存储库。为此,使用 Azure 许可,根据访问级别将文档拆分到 SharePoint 上的存储库中。最重要的是,我试图在突出显示的内容 Web 部件中显示它们,但我无法按位置和类型对它们进行排序。我在每个存储库中都有一个自定义列来定义它们是什么类型,但是当我尝试将 AND 部分添加到 KQL 时它不起作用。此外,互联网似乎大量缺乏 KQL 的实际文档。

(
path:https://domain.sharepoint.com/sites/example/Level%201%20Resources/

OR

path:https://domain.sharepoint.com/sites/example/Level%202%20Resources/

OR

path:https://domain.sharepoint.com/sites/example/Level%203%20Resources/

OR

path:https://domain.sharepoint.com/sites/example/Level%204%20Resources/

OR

path:https://domain.sharepoint.com/sites/example/Level%205%20Resources/

OR

path:https://domain.sharepoint.com/sites/example/Level%206%20Resources/


AND

DocType:"Articles"
)

上面将简单地从这些位置提取所有文档并忽略 AND 语句。我已经尝试重命名它以调用从源中提取的自定义列标识符,但这也不起作用。

我能找到的唯一真实文档是:Here

这似乎没有解决基于自定义列标签的过滤问题。

编辑:重新格式化以使用下面从多个位置提取所有文档,但嵌套部分仍然无法正常工作

path:(
"https://domain.sharepoint.com/sites/example/Level%201%20Resources/"

OR

"https://domain.sharepoint.com/sites/example/Level%202%20Resources/"

OR

"https://domain.sharepoint.com/sites/example/Level%203%20Resources/"

OR

"https://domain.sharepoint.com/sites/example/Level%204%20Resources/"

OR

"https://domain.sharepoint.com/sites/example/Level%205%20Resources/"

OR

"https://domain.sharepoint.com/sites/example/Level%206%20Resources/"
)

【问题讨论】:

    标签: sharepoint-online


    【解决方案1】:

    所以我遇到的另一个问题是创建一个列以根据文件类型的类别(而不是文字文件类型)进行分离。显然,当您创建一个列表然后引用该列表然后通过 KQL 过滤时,SPO 不喜欢它。所以我今天早上找到了this

    显然,最好的方法是创建一个自定义“选择”列,留出一些时间让它流动和更新,然后您可以通过 KQL 引用它。

    【讨论】:

      猜你喜欢
      • 2017-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-30
      相关资源
      最近更新 更多