







Addtemplate: Stsadm operation (Office SharePoint Server) | |
![]() ![]() |
Stsadm command-line tool (Office SharePoint Server) > Stsadm operations (Office SharePoint Server) > Features and solutions: Stsadm operations (Office SharePoint Server) > |
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
Operation name: Addtemplate
Description
Adds a site template to the template gallery.
![]() |
---|
If you want the changes to the template list to take effect immediately, run the iisreset command after you run the addtemplate operation. |
Syntax
stsadm -o addtemplate
-filename <file name>
-title <title>
[-description] <description>
Parameters
Parameter |
Value |
Required? |
Description |
filename |
A valid file name, such as “C:\Templates\SampleTemplate.stp” |
Yes |
File name of the template that you are adding |
title |
A valid title of a template, such as “Sample Template” |
Yes |
Title of the template that you are adding |
description |
A valid description of the template, such as “This is a sample template” |
No |
Description of the template that you are adding |