I'm developing a site provisioning solution in SharePoint 2013 and one of the requirements is to restrict the available sub sites that show up when a user creates a new sub site.
I was able to do this programmatically using SPWeb.SetAvailableWebTemplates() method. However, after running this method the following behavior was noticed.
A user saves a site as template from the browser by going to Site Settings and clicking "Save Site As Template". The site gets successfully saved as template in Solutions gallery. However, the "Custom" tab does not appear in the New Subsite creation page. Is there a workaround or solution to get the Custom Tab and its sites back?