In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
If you try to save your site in SharePoint Server 2013 and we do not see the Save site as template option, it may be because the site has site publishing enabled. As mentioned in the previous article, "SharePoint 2010 lacks the site Save as template option".
In SharePoint 2013, it doesn't work to use the SharePoint 2010 trick (adding _ layouts / _ savetmpl.aspx at the end of the site URL). Microsoft also gives an official description of the relevant knowledge base KB (KB 24922356), so how do I save the template for the site? Microsoft provides a supported solution in Microsoft in another knowledge base article KB:925189.
If we want to save the site template, how to do it? There are at least three options for saving the publishing site as a template. The first two workarounds are not officially supported by Microsoft.
# method 1
Using the PowerShell script method, update the property named SaveSiteAsTemplateEnabled. The value of the property is set to true and allows you to use _ layouts / 15 / savetmpl.aspx at the end of the URL.
1. Run the following PowerShell script. PowerShell ISE (64-bit) is recommended.
$web = Get-SPWeb http://www.contoso.com/training $web.AllProperties ["SaveSiteAsTemplateEnabled"] = "true" $web.Update ()
two。 Navigate to the site we need to save and save the publishing site as a template using the following syntax
Http://site/subsite/_layouts/15/savetmpl.aspx
For example: http://www.contoso.com/training/_layouts/15/savetmpl.aspx
3. Note that the option to save the site as a template is not available in the GUI of site Settings-> site operations. You must use step 2 above to save the site as a template.
# method 2
If you are not familiar with PowerShell scripts, you can use SharePoint Designer 2013 to make the same changes to the property SaveSiteAsTemplateEnabled. Microsoft does not support this method.
1. Open the publishing site in SharePoint Designer 2013.
two。 Click the site Settings icon on the ribbon
3. Change the parameter SaveSiteAsTemplateEnabled from the default value false to true.
4. Click OK to close SharePoint Designer 2013
5. Go to the publishing site and add _ layouts / 15 / savetmpl.aspx to the end of the URL, as described in method 1, step # 2 above.
6. The option to save the site as a template is not available in the GUI of site Settings-> site operations. You must use # 5 to save the site as a template
# method 3
The following solutions are supported by Microsoft and explained in knowledge base article 925189
1. Open the Feature.xml file with publishing function in a text editor such as notepad
Path: C:\ Program Files\ Common Files\ Microsoft Shared\ Web Server Extensions\ 15\ TEMPLATE\ FEATURES\ Publishing.SharePoint 2010C:\ Program Files\ Common Files\ Microsoft Shared\ Web Server Extensions\ 14\ TEMPLATE\ FEATURES\ PublishingMOSS 2007C:\ Program Files\ Common Files\ Microsoft Shared\ Web Server Extensions\ 12\ TEMPLATE\ FEATURES\ Publishing
two。 Add the following line to the Feature.xml file:
3. Use notepad to create a new file in the same directory named MyHideAction.xml. Make sure that the file extension is XML and not TXT. Add the following to the MyHideAction.xml file.
"
4. Save Fil
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.