在Office Online中打开文档? [英] Open documents in Office Online?

查看:65
本文介绍了在Office Online中打开文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我希望默认情况下在Office Online中打开文档,因为目前文件总是被下载。我读了

这篇文章
这似乎是朝着正确方向迈出的一步,但我找不到"属性映射"。了。我想我需要在显示模板本身中调整正确的托管属性映射,但我无法确定哪一个

Hello

I wanted documents to open in Office Online by default as currently the file is always being downloaded. I read this article which appears to be the step in the right direction, but I can't find "property mappings" anymore. I think I'd need to adjust the right managed property mapping in the display templates itself, but I couldn't figure out which one yet.

我已经检查了Item_CommonItem_body .html并且它似乎已经设置(默认情况下)在Office Online中打开:

I already checked the Item_CommonItem_body.html and it appears that its already set (by default) to open in Office Online:

        if(ctx.ScriptApplicationManager && ctx.ScriptApplicationManager.states){
            useWACUrl = (useWACUrl && !ctx.ScriptApplicationManager.states.openDocumentsInClient);
        }




有谁知道我怎么做到这一点?

Does anyone know how I can achieve this?

*编辑*

在这里您可以看到缺少属性映射选项?
$


*EDIT*
Here you can see that the property mapping option is missing?

推荐答案

Hello Lemex, 

Hello Lemex, 

从图书馆设置>进展>配置的设置是什么? 

From Library Settings > Advance > what is the settings configured? 

如果您选择"在浏览器中打开",文件打开正常吗?

If you choose "Open in browser" does file open up fine? 


这篇关于在Office Online中打开文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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