SharePoint 2013 OWA(Office Web Apps) 连接与配置
来源:互联网 发布:阿里云认证有用吗 编辑:程序博客网 时间:2024/05/16 11:30
SharePoint 2013 OWA(Office Web Apps) 连接与配置
接上篇内容:
参考地址: https://technet.microsoft.com/zh-cn/library/ff431687.aspx
首先安装好SharePoint2013,我在此部署文档中使用的 SharePoint 2013.
操作系统环境为:windows server 2012.
1. 安装好SharePoint 2013之后。以管理员身份运行下列PowerShell(运行SharePoint2013 命令管理器)
New-SPWOPIBinding -ServerName <WacServerName> -AllowHTTP
Remove-SPWOPIBinding -All:$true //这个命令是移除SharePoint服务器和OWA 服务器的连接其中<WacServerName>为Office Web Apps的域名全称(FQDN)例如 按照之前所说OWA 服务器 FQDN 是 New-SPWOPIBinding -ServerName testspdb -AllowHTTP
上述PowerShell命令的意思是建立sharepoint文档库中Office文档的打开关联程序为Office Web Apps.
成功的话会返回下面的信息,如图所示
注意:由上图可以清楚的看的WopiZone 是Internal-http 所有你要做相对应的修改。
2. 之后再运行下列命令:
Get-SPWOPIZone
(WOPI指的是Web 应用程序开放平台接口协议)
上述PowerShell命令意思是查看本sharepoint服务器与其他服务器的通信协议。
运行之后会返回如下信息:
新装的系统很多是https。按照顺序执行代码即可。
返回internal-https,意思是接口协议用的是https。
一般情况下,在内网用http协议就足够了。
所以要改成http协议,用下列命令:
Set-SPWOPIZone -zone "internal-http"
再用Get-SPWOPIZone查看,返回的是internal-http,修改成功。
3.
然后再修改sharepoint与Office Web Apps的认证关系。要把AllowOAuthOverHttp这个属性设置为True.
用下列命令:
(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp
返回的如果为false.
那么就应该用下列命令设置此属性为true.
$config = (Get-SPSecurityTokenServiceConfig)$config.AllowOAuthOverHttp = $true$config.Update()
如下图所示:
至此,Office Web Apps与SharePoint2013的关系就已经建立好了。可以新建一个SharePoint网站看一下效果。
注意:创建文档时,不要用系统帐户 ,否则创建Office文档会出错,错误如下图
使用有权限的非系统账户,如下图所示:
新建文档的时候,会多出一个菜单,提示新建哪种Office文档。
还提供Office文档的预览效果,如下图所示。
下图的实例是一个编辑Excel功能,其实点击打开相应文档(word,excel 等等),会提供类似Office桌面版的效果,会让你忘记这是一个web程序,仿佛就是一个桌面版的Office.
单击编辑工作簿--在下拉框里选择 ---在Excel--Web App 中编辑
如果不能访问的话,请检查一下客户端是否能够解析OWA的地址。
检查方法如下,打开无法打开或者报错404 的时候请使用开发工具找到错误地址,检查之。
- SharePoint 2013 OWA(Office Web Apps) 连接与配置
- 为 SharePoint 2013 配置 Office Web Apps
- 部署Office Web Apps Server并配置其与SharePoint 2013的集成
- Troubleshooting Office Web Apps with SharePoint 2013
- SharePoint 2013 OWA(Office Web Apps)安装部署(一) 根据网络文章做了修改和一些错误的处理方式。
- Exchange 2013与 Office Web Apps 整合
- 安装office web apps时,在运行sharepoint配置向导时出现错误
- 在SharePoint Server 2010(英文版)上安装和配置Office web apps
- sharepoint 配置OWA HTTPS
- sharepoint OWA 配置https
- Sharepoint 使用 Office Web Apps 在线浏览器查看 PDF文件
- Office Web Apps Server 2013与PDF(一)
- Office web apps 预览服务器的配置
- SharePoint 2016 Office Web Apps Server 更名为 Office Online Server
- Office Web Apps
- Office Web Apps 实践
- sharepoint 2013 安装office web apps 2013 with sp1时提示没有安装microsoft.net framework 4.5
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第14章节--使用Office Services开发应用程序 WOPI和新的Office Web Apps Server
- GOLDENGATE安装配置与复制流搭建_DG端抽取支持DDL版
- Cannot change version of project facet Dynamic web module to 2.5
- 黑马程序员:面向对象---学习笔记
- ERROR ITMS-9000: “Redundant Binary Upload. There already exists a binary upload with build version '
- rockethon2015 C题 Second price auction 概率dp
- SharePoint 2013 OWA(Office Web Apps) 连接与配置
- jquery动态添加删除(tr/td)
- 母函数:poj 1014 Dividing
- 亲爱的csdn我来了,亲一下吧
- STM32的FLASH操作
- HDU 1263 水果(结构体排序)
- mysql的左右内连接用法实例
- 立志重学c++,希望得到新感悟,新体会
- HDCP源代码测试