强制开放SharePoint URL而不是下载

发布于 2025-02-10 03:49:57 字数 284 浏览 0 评论 0原文

我正在使用D365 PowerAutomate来生成SharePoint历史记录(文档更改历史记录)URL,我能够像以下一样生成,但是问题是它正在下载文件,而是我想打开Word Document。

我在Querystring中尝试了Web = 1,但没有运气。

https://SITEURL/_vti_history/VERSIONID/LISTNAME/ROOTFOLDER/DOCNAME.docx 

URL是完美的,可以下载正确的文档,但我想在浏览器中打开而不是下载

Am using D365 Powerautomate to generate Sharepoint history (document change history) urls , i can able to generate like below , but the problem is it is downloading the file instead i want to open the word document.

I have tried web=1 in the querystring, but no luck.

https://SITEURL/_vti_history/VERSIONID/LISTNAME/ROOTFOLDER/DOCNAME.docx 

Url is perfect and downloading the right document , but i want to open in browser instead of download

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

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

发布评论

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

评论(1

调妓 2025-02-17 03:49:57

请使用?链接末尾的Web = 1,这样
https://siteurl/_vti_history/versionid/listname/rootfolder/docname.docx?web = 1

please use ?web=1 at the end of link, like this
https://SITEURL/_vti_history/VERSIONID/LISTNAME/ROOTFOLDER/DOCNAME.docx?web=1

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