Office 365加载项的文档编辑器URL [英] Document editor url for Office 365 Add-ins

查看:102
本文介绍了Office 365加载项的文档编辑器URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到几周前,添加的属性window.document.referrer检索到一个url,允许我撰写和共享一个将在在线编辑器中打开文档的URL。现在这个属性返回,对于word app,url:" https://word-edit.officeapps.live.com/"。

Until a couple of weeks ago the property window.document.referrer of a add in retrieved a url that allow me to compose and share a url that will open the document in online editor. Now this property return, for word app, the url : "https://word-edit.officeapps.live.com/".

有没有办法重新获得完整的该文件的编辑网址?

Is there a way to retrived the full editor url of the document?

推荐答案

嗨Dorin,

>>一个add的属性window.document.referrer检索到一个url,允许我编写和共享一个将在在线编辑器中打开文档的URL

您是否使用Word加入开发?您使用的是哪个版本,Word 2013或Word 2016?你是如何在Word中使用window.document.referrer的?我用" var x = document.referrer; "进行了测试。在我的单词中添加
,它返回空。如果您可以分享一个简单的演示来重现您的问题,将会很有帮助。

Did you develop with Word add in? Which version you used, Word 2013 or Word 2016? How did you use window.document.referrer in Word add in? I made a test with "var x = document.referrer;" in my word add in, it return empty. It would be helpful if you could share us a simple demo to reproduce your issue.

最好的问候,

Edward


这篇关于Office 365加载项的文档编辑器URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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