[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1017
  • Last Modified:

SharePoint Global Templates Gallery Location

I have a group of users that periodically updates the template for their project sites.  Each time they make an update to the template, I upload it to our Global Templates so I can create site collections from this template.  However, to do so, I must delete the prior template.  Each time I do this, it increments the '_GLOBAL_##'.  As you can see from the enumtemplates output below, I only have two templates loaded into my farm.

C:\>stsadm -o enumtemplates
Group1 Project Site - Language: 1033 - Site Template: _GLOBAL_#1 - Template Id: 1
Group2 Project Site - Language: 1033 - Site Template: _GLOBAL_#6 - Template Id: 1
     Default project site containing all the necessary lists and libraries


1. How do I just overwrite the existing template?
2. If I can't just overwrite, how do I keep the template global ID from increasing?

If I delete a template that WAS _GLOBAL_#2 and then upload a new template, I want it to also be _GLOBAL_#2.

The reason I ask is because my secondary script creates the project sites programatically (using stsadm -o createsite) but has to be updated with the site template ID change each time...
1 Solution
Ted BouskillSenior Software DeveloperCommented:
Instead of doing it manually you would need to integrate the templates into Sharepoint Deployment Solutions which can be updated and redeployed.  It's advanced work but the only way to control this.
EMJTechAuthor Commented:
Too bad there is no automated solution.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now