如何从URL链接参数在Sharepoint页面上打开Excel文档 [英] How to open an Excel document on a Sharepoint page from a URL link parameter

查看:364
本文介绍了如何从URL链接参数在Sharepoint页面上打开Excel文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我需要根据传入网址末尾的参数在Sharepoint页面上打开Excel文件。

Hello, i have a requirement to open an Excel file on a Sharepoint page based on a parameter on the end of an incoming URL.

因此用户将链接到这个SP页面和链接将是一个Excel文件名作为参数,我将需要使用Javascript从传入的URL解析参数名称,然后使用参数名称在相同或一个孩子$上打开一个Excel文件b $ b页。

So a user will link to this SP page and on the link will be an Excel file name as a parameter and i will need to use Javascript to parse the parameter name from the incoming URL and then use the parameter name to open an Excel file on the same or a child page.

任何建议或指示都将不胜感激!

Any suggestions or pointers would be greatly appreciated!







推荐答案

我认为您应该在您的服务器场中设置办公室Web应用程序服务器或办公室在线服务器。

I think you should setup office web application server or office online server in your farm.

您可以在浏览器中打开excel文件。

You can open excel file in browser after that.

然后你可以为你的请求创建一个包含iframe excel网址的页面。

Then you can create a page with iframe the excel url for your request.


这篇关于如何从URL链接参数在Sharepoint页面上打开Excel文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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