Modifying the default.aspx template
Thanks,
Kevin
Thanks,
Kevin
http://tfs:8080/WorkItemTracking/Workitem.aspx?artifactMoniker=123
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
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
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.
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