Sharepoint 2013 on prem save site as template issue

KHINCHI Shalu 1 Reputation point
2022-01-20T13:42:07.523+00:00

Hi ,I am getting an un occurred error while submitting form of "save site as template" in team site but i can create template of its sub- site. Why?

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,839 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,321 Reputation points
    2022-01-21T06:00:08.903+00:00

    Hi anonymous user,

    Did you get any error message?

    You could try to run the following PowerShell script to enable save site as template in SharePoint 2013.

    $SiteURL ="http://sp/sites/yoursiteurl"  
       
    $web = Get-SPWeb -Identity $SiteURL  
       
    #Enable Save Site as template option  
    $web.SaveSiteAsTemplateEnabled = $true  
    $web.Update()  
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.