创建SharePoint 2013网站集模板 [英] Create SharePoint 2013 Site Collection Template

查看:89
本文介绍了创建SharePoint 2013网站集模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在一个项目中,这些项目要求从服务器Web部件在SharePoint 2013中自动创建一些网站集.

Hello folks,
I'm working on a project who have the requirements of create some site collection automatically in SharePoint 2013 from a server web part.

我如何创建 网站集模板,其中包括我们的自定义主题和自定义组合外观" ?

How I can create a  site collection template who include our custom Theme and custom "Composed looks" ?

当我创建一个新的网站集时,我丢失了此信息,因此我的所有网站都没有样式.

When I create a new site collection I lost this information so all my web don't have the style.

谢谢

Lorenzo Soncini

Lorenzo Soncini

Lso Lorenzo Soncini Trento TN-意大利

LSo Lorenzo Soncini Trento TN - Italy

推荐答案

如果要将主题和合成外观复制到新创建的网站集,则可以导入设计器包,然后将此包应用于新网站集,它将应用主题和外观.

If you want to copy the theme and Composed looks to a new created site collection, you can import the designer package and then apply this package to the new site collection, it will apply the theme and composed look.

您可以使用PowerShell来做到这一点:

You can do it with PowerShell:

Import-SPDesignPackage -SiteUrl "http://sharepoint.local/publishing" -ImportFileName "C:\temp\publishing2.wsp" -PackageName "P2" -Apply


true ( @ {SiteUrl ="http://sharepoint.local/publishing"; ImportFileName ="C:\ temp \ publishing2.wsp"; PackageName ="P2"; Apply =
true ( @{ SiteUrl = "http://sharepoint.local/publishing"; ImportFileName = "C:\temp\publishing2.wsp"; PackageName = "P2"; Apply=


true }, @ {SiteUrl ="http://sharepoint.local/sites/publishing2"; ImportFileName ="C:\ temp \ publishing2.wsp"; PackageName ="P2"; Apply =
true }, @{ SiteUrl = "http://sharepoint.local/sites/publishing2"; ImportFileName = "C:\temp\publishing2.wsp"; PackageName = "P2"; Apply=


这篇关于创建SharePoint 2013网站集模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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