Newly created sites get old Content Type templates

We moved from _cts templates to a centrally stored template in _layouts some time ago but noticed recently that newly created site, for example with using New-SPSite, gets old content type templates in the ResourceFolder. The DocumentTemplateUrl is correctly assigned but many old versions of the template are stored in _cts/ContentTypeName.

I have cleared all old files out from _cts but still when a new site is created the files appear in the new site. Where do these files come from and how can I get rid of this behaviour?

The content types and _layout template is working fine but the clients environment got hundreds of content types so the footprint of each site is huge due to all the old templates. We are talking about hundreds of files in the recycle bin of a newly created site...




August 26th, 2015 11:30am

Hi

We are currently looking into this issue and will give you an update as soon as possible.
 
Thank you for your understanding and support.

Best Regards,

Lisa Chen

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 8:49am

Hi regularroutine,

How do you save the content type templates. If the content type templates are saved to the web.config, then this issue is an expected behavior. Each time we create new sites, the content type templates saved in the web.config files will be generated.

Best Regards,

Lisa

September 2nd, 2015 10:43pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics