C
chewlf
Hi,
I found the solution posted by Nico on how to change the template of
project workspace. However, I have faced some problem at the end of the
step. I couldn't find the template that I added into server under Site
template drop down. If I try to issue enumtemplate in command prompt,
it has returned the list of templates that I added in. What would be
the cause? Why the template does not show in the drop down list? Can
someone advice? Thanks.
-----------------------------------------------------------------------------------------------------------------------------------
Posted by Nico:
This is basically a 3 step procedure:
1. Create a new site to act as the template
2. Customize and export the template
3. Import the template for use with Project Server
Create a new site
1. Browse to Project Web Access, and click On Admin, Manage Windows
Sharepoint Services, Manage Sharepoint Sites.
2. Click on the Site Administration Link. This will open up another
page in
a new window.
3.On the Site Settings page, click Manage Sites and Workspaces under
the
Aministration section.
4. Click the Create link at the top to create a new site
5. Give the new site a Title such as Template, and supply the Web Site
Address as well (this could be something like Template as well), and
then
create the Create button.
6. In the Template selection section, choose the Project Workspace, and
click OK.
7. The next window that will appear is the template site that you just
created. You can now customize this site to your needs, for instance
by
adding extra fields to lists such as Issues and Risks, or to apply a
new
colour template to the site.
When you have finished configuring the template site, you need to
export it.
1. In the home page of your template site, click "Site Settings", then
"Go
to Site Administration".
2. Click "Save site as a template"
3. Give the file a name, such as "template", and supply a Template
Title,
again such as "Template".
4. On the next page, click on the "Site template gallery" link.
5. In the Site Template Gallery, click the name of the site that you
just
created - this will then launch a dialog box asking you to save the
template
file to your local machine. Save this file to your machine in a
location
such as c:\tmp.
Now we need to import the file back into the server as a useable
template:
1. Working directly on the server, copy the file that you created in
the
second step to a location on the server itself, again something like
c:\tmp
2. Open up a command prompt on the server, type in the following:
"cd c:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\BIN" <enter>
Then type in "stsadm.exe -o addtemplate -filename <name of the file
created> - title <title of the site>. This command would like like
this on
my machine "stsadm.exe -o addtemplate -filename c:\tmp\template.stp -
title
template"
3. If 2 is succesfull, you will recieve a message stating that IIS
needs to
be restarted. To do this, run the "iisreset" command. (just type
"iisreset
<enter>")
4. Now, again browse to Project Web Access, Admin, Manage Windows
Sharepoint
Services, Site Provisioning Settings.
5. In the Site Template field, you can now select the template that you
just
uploaded.
I hope this makes sense, please shout if you need more help
I found the solution posted by Nico on how to change the template of
project workspace. However, I have faced some problem at the end of the
step. I couldn't find the template that I added into server under Site
template drop down. If I try to issue enumtemplate in command prompt,
it has returned the list of templates that I added in. What would be
the cause? Why the template does not show in the drop down list? Can
someone advice? Thanks.
-----------------------------------------------------------------------------------------------------------------------------------
Posted by Nico:
This is basically a 3 step procedure:
1. Create a new site to act as the template
2. Customize and export the template
3. Import the template for use with Project Server
Create a new site
1. Browse to Project Web Access, and click On Admin, Manage Windows
Sharepoint Services, Manage Sharepoint Sites.
2. Click on the Site Administration Link. This will open up another
page in
a new window.
3.On the Site Settings page, click Manage Sites and Workspaces under
the
Aministration section.
4. Click the Create link at the top to create a new site
5. Give the new site a Title such as Template, and supply the Web Site
Address as well (this could be something like Template as well), and
then
create the Create button.
6. In the Template selection section, choose the Project Workspace, and
click OK.
7. The next window that will appear is the template site that you just
created. You can now customize this site to your needs, for instance
by
adding extra fields to lists such as Issues and Risks, or to apply a
new
colour template to the site.
When you have finished configuring the template site, you need to
export it.
1. In the home page of your template site, click "Site Settings", then
"Go
to Site Administration".
2. Click "Save site as a template"
3. Give the file a name, such as "template", and supply a Template
Title,
again such as "Template".
4. On the next page, click on the "Site template gallery" link.
5. In the Site Template Gallery, click the name of the site that you
just
created - this will then launch a dialog box asking you to save the
template
file to your local machine. Save this file to your machine in a
location
such as c:\tmp.
Now we need to import the file back into the server as a useable
template:
1. Working directly on the server, copy the file that you created in
the
second step to a location on the server itself, again something like
c:\tmp
2. Open up a command prompt on the server, type in the following:
"cd c:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\BIN" <enter>
Then type in "stsadm.exe -o addtemplate -filename <name of the file
created> - title <title of the site>. This command would like like
this on
my machine "stsadm.exe -o addtemplate -filename c:\tmp\template.stp -
title
template"
3. If 2 is succesfull, you will recieve a message stating that IIS
needs to
be restarted. To do this, run the "iisreset" command. (just type
"iisreset
<enter>")
4. Now, again browse to Project Web Access, Admin, Manage Windows
Sharepoint
Services, Site Provisioning Settings.
5. In the Site Template field, you can now select the template that you
just
uploaded.
I hope this makes sense, please shout if you need more help