用户创建外部URL以搜索元数据/标签参考 [英] User Created External URL to search on Meta Data / Tag Ref

查看:69
本文介绍了用户创建外部URL以搜索元数据/标签参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,请有人告诉我,我是否可以创建一个指向我的O365 sharepoint网站的超链接,该网站会返回标记为 的所有文件。特定标签或元数据? (所以最终用户可以一次压缩和下载所有相关文件)如果是这样的话,
该URL必须包含哪种格式?

Hi all, please can someone tell me if I can create a hyperlink that directs to my O365 sharepoint site that returns all the files tagged with a  specific tag or metadata? (so the end user can zip and download all the relevant files in one go) if so, what format must that URL be in?

提前致谢,初学者Sharepoint用户。

Thanks in advance, a beginner Sharepoint User.

推荐答案

您好Richard Burdett,

Hi Richard Burdett,

可以创建一个超链接来搜索具有特定元数据的文件,并通过CSOM下载文件。

It is possible to create a hyperlink to search the files with specific metadata and download the files by CSOM.

我们可以使用搜索REST API。您可以使用下面的超链接查找具有特定术语的文档。

We can use the search REST API. And you can use the hyperlink below to find document with specific term.

https://yourtenant.sharepoint.com/_api/search/query?querytext='search_data'&querytemplate= '{searchterms} IsDocument:true'

https://yourtenant.sharepoint.com/_api/search/query?querytext='search_data'&querytemplate='{searchterms} IsDocument:true'

要搜索文件,您还可以使用下面的超链接。

And to search files, you also can use the hyperlink below.

https:/ / server / _api / search / query?querytext ='search_data'& refinementfilters ='fileExtension:equals(" docx")'

https://server/_api/search/query?querytext='search_data'&refinementfilters='fileExtension:equals("docx")'

然后你可以通过CSOM下载文件。

Then you could download the files by CSOM.

更多参考资料:

SharePoint Search REST API概述。

SharePoint Search REST API overview.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development / sharepoint-search-rest-api-overview

从SharePoint Online下载文件。

Download file from SharePoint Online.

https://code.msdn.microsoft.com/office/file -from-SharePoint-Online-cc418dba

通过Azure AD将SharePoint CSOM和REST API与Office 365 API一起使用

Using the SharePoint CSOM and REST API with Office 365 API via Azure AD

https:// jeremythake.com/using-the-sharepoint-csom-and-rest-api-with-office-365-api-via-azure-ad-fe59a6d1a26

适用于开发人员的Office 365和SharePoint Online API指南。

Office 365 and SharePoint Online API Guidance for Developers.

https://www.avepoint.com/blog/sharepoint-hybrid/office-365-and-sharepoint-online-api-guidance-for-developers/

祝你好运,

Sara Fan


这篇关于用户创建外部URL以搜索元数据/标签参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆