Modifying the default.aspx template

Has anyone had any luck modifying the templates for the TFS site? I edited the c:\program files\common files\microsoft shared\web server extensions\60\template\1033\TFS\default.aspx file, but it doesn't seem to be working. Anyone have any insight?

Thanks,
Kevin

[269 byte] By [KevinSchlegelmilch] at [2007-12-17]
# 1
Are you trying to modify the sharepoint portal template or the templates for the web views? A web view page URL typically looks like this:

http://tfs:8080/WorkItemTracking/Workitem.aspx?artifactMoniker=123

LingBao at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
I'm trying to modify the site that comes up when you create a new Project

http://tfs/sites/myProject/default.aspx

KevinSchlegelmilch at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3

If your goal is to edit it for just one site at a time post team project creation, then just edit http://tfs/sites/myProject/default.aspx in FrontPage (or your SharePoint compatible editor of choice).

If you want all new team project sites to be created with a different look than the Out of Box Agile of Formal ones, then you'll need to create your own SharePoint site template and modify a process template to use that new SharePoint site template. There will be more info on the how-tos of this with the upcoming VSTF extensibility kit. But in a nutshell:
- You should be able to find info on MSDN about creating your own SharePoint site templates. That basically involves making an existing Site look like what you want, and through the SharePoint Web UI Site Settings doing a "Save as Site Template"
- Once you have that done, you'll need to modify the Process Template. In VS, go to the Team menu > Team Foundation Server Settings > Process Template Manager
- Download MSF Agile to the directory of your choosing. This will download a set of folders and files
- Find WSStasks.xml, and modify <site template="VSTS_MSFAgile" language="1033" /> - replacing "VSTS_MSFAgile" with the name of the WSS Site Template you created. Save.
- Edit ProcessTemplate.xml to give your process template a new name
- Upload your modified process template to the server with the Process Template Manager

Going forward, team projects created with that process template will have your desired new SharePoint default page.

-Amy

AmyHa at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4

Hi, But is there a way to download the VSTS_MSFAgile template from th sharepoint server? I cant seem to find it anywere.

Regards

Christian Jensen

ChristianJensen at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5
I couldn't understand what you meant by "name of the WSS Site Template you created". You mean to say the complete name of the Template? I dont see VSTS_MSFAgile being defined anywhere in the default templte.
SreejithK at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 6

There are a couple really good articles that show how to do this step by step for modifying the Site Definition files and the Templates.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_sp2003_ta/html/Office_SharePointApplyingCorporateBrand.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_sp2003_ta/html/ODC_SPSCustomizingSharePointSites2.asp

Also I usually copy those site files locally, then use FrontPage to modify them to create NEW Site Definition Files or NEW templates, then go into the source code and just copy the code I changed into the actual files on the server rather than "saving and publishing" through FrontPage, to avoid any ghost issues.

Remember not to edit or modify the original Default Site Definition files or Default Templates because those are considered system files and when you upgrade later they get overwritten and you might loose your customization. Therefore you create new files based on the defaults which the first link above explains in detail. Thanks. Linda

LindaChapman at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified