如何使用JSOM/CSOM代码在O365中使用Webpart创建我的自定义网站模板? [英] how to create my custom site template with webpart in O365 using JSOM/CSOM code?

查看:85
本文介绍了如何使用JSOM/CSOM代码在O365中使用Webpart创建我的自定义网站模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用JSOM/CSOM代码在O365中使用简单的Webpart创建我的自定义网站模板?

how to create my custom site template with simple webpart in O365 using JSOM/CSOM code?

推荐答案

您好,最直接的方法是使用网站设置> ;另存为模板(请参见 保存" 网站作为模板"选项在Office 365或SharePoint Server 2013的SharePoint Online中不可用).您可以尝试通过直接URL http://example.com/_layouts/15/savetmpl.aspx打开此页面.如果不起作用,请尝试使用第三方工具进行导出/导入 例如 Sharegate .
hello, the most straightforward way is to use Site settings > Save as template (see Create and use site templates). However this command is not available for sites which have publishing or community site feature enabled ("Save site as template" option isn't available in SharePoint Online in Office 365 or SharePoint Server 2013). You can try to open this page by direct url http://example.com/_layouts/15/savetmpl.aspx. If it won't work try to use 3rd party tools for export/import like Sharegate.


这篇关于如何使用JSOM/CSOM代码在O365中使用Webpart创建我的自定义网站模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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