如何以编程方式在 Sharepoint 站点上发布 HTML 文件 [英] How to programatically publish an HTML file at a Sharepoint site

查看:65
本文介绍了如何以编程方式在 Sharepoint 站点上发布 HTML 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 SharePoint 的新手,我需要在现有的 SharePoint 网站中发布 HTML 文件(它们是生成的报告).有人告诉我,如果应用程序在同一台服务器上运行(这里不是这种情况),您只能使用 SharePoint Api,因此我需要做的是使用 SharePoint 网络服务.

是吗?在这种情况下,我应该为这个简单的任务检查什么(在已知位置创建一个列表并在其上发布 html 文件.

提前致谢.

解决方案

是的,这两个问题都涉及同一件事,请按照以下链接中的建议创建页面库并上传您的 html 文件

Que1

Que2

I'm pretty new to SharePoint and I need to publish HTML files (they are generated reports) in an existing SharePoint site. I've been told that you can only use the SharePoint Api if the application runs on the same server (not the case here) so what I need to do is to use the SharePoint web services.

Is that right? In that case, what should I check for this simple task (create a list at a known location and publish html file on it.

Thanks in advance.

解决方案

yes both the questions refer to the same thing create a page library and upload your html file as suggested in below link

Que1

Que2

这篇关于如何以编程方式在 Sharepoint 站点上发布 HTML 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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