Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

Customizing Web sites based on SharePoint Team Services

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Published: February 1, 2001

On This Page

Introduction
Shared Customization Features
Customization within the SharePoint Team Web Site User Interface
Customization within FrontPage 2002
Other Customizations
Conclusion

Introduction

SharePoint™ Team Services provides a rich environment for ad hoc team collaboration, allowing users to save documents directly to SharePoint Team Web site, discuss documents within that site or on other Web sites, and share important team or project-related information. To enable administrators to make site as effective as they can be, SharePoint Team Services was designed to be highly customizable.

These customizations range from tailoring the site layout to customizing users' rights. There are two main tools for implementing customizations: a Microsoft Windows®-based Web browser (4.0 or greater) or a SharePoint Team Services compatible web authoring tools such as Microsoft FrontPage® 2002. For the purposes of this paper, we will discuss customization using the browser and FrontPage 2002. This paper divides customizations into three basic categories:

  • Those that can be accomplished either using the browser and using FrontPage 2002 (Shared)

  • Those that are accomplished exclusively using the browser

  • Those that are accomplished exclusively using FrontPage 2002

The last section of the paper, "Other Customizations," describes things such as creating custom Cascading Style Sheets upon which to base sites, tailoring the Search functionality of your site, and using Active Server Pages on your site.

Shared Customization Features

There are certain customization features that the user has a choice of effecting from the browser and from FrontPage 2002. These include, but are not limited to, such customizations as:

  • Setting templates on document libraries

  • Changing list security

  • Creating or deleting lists and document libraries

  • Modifying the attributes (fields) for a document library or list

  • Modifying the homepage layout, such as adding or deleting lists

  • Creating subwebs

Basing a document library on a template

Corporations or teams often establish document design standards, ensuring some level uniformity in look and feel. Supporting this need, SharePoint Team Services offers the ability to base a document library on templates.

Using the browser

Using FrontPage 2002

1. Create a template using the appropriate Office application.
2. Save the template to your Web site – a best practice is to create a "template" document library to which you save/upload all templates used on the Web site.
3. From your team home page, click on the document library for which the template was created: e.g. Product Specs.
4. Click on Change the columns and views.
5. Under General Settings, click on Change the general settings.
6. In the Document Template section, type the URL of your template, e.g. http://sitename/Templates/ProdSpec.dot (or cut and paste). There is no browse function here.
7. At the bottom of the page, click OK.
8. The template is now applied to any documents created using the New Document function.

1. Create a template using the appropriate Office application.
2. Using FrontPage, open your Web.
3. Import the template to your Web site – a best practice is to create a "template" document library to which you save/upload all templates used on the Website.
4. Using Folder view, right click on the document library with which you want to associate the template and choose Properties.
5. On the Properties dialog box, click the Setting tab.
6. Check Use a template for new documents.
7. Click Browse.
8. Navigate to your template. If applying best practice, it will be in the Templates folder.
9. Click OK. The template is now associated with that document library.

Changing list security

It should be noted for list security that a user with administrative privileges may modify design access even if "only the creator" is marked.

Using the browser

Using FrontPage 2002

1. From the team site, click on the document library or list you wish to modify.
2. Click on Modify settings and columns.
3. Click on Change general settings.
4. If changing security on a Document Library, the only option available is Design access. If changing security on a list, there are three options:
· Read Access – users can read all or only their own items
· Edit Access – users can edit all or only their own items
· Design access – users can or cannot modify the columns on the list or document library
5. Change the settings according to your preferences.
6. Click OK.

1. Using FrontPage, open your Web.
2. Right click on the Document Library or List you wish to modify.
3. Select Properties.
4. Click the Security tab.
5. If changing security on a Document Library, the only option available is Design access. If changing security on a list, there are three options:
· Read Access – users can read all or only their own items
· Edit Access – users can edit all or only their own items
· Design access – users can or cannot modify the columns on the list or document library
6. Change the settings according to your preferences.
7. Click OK.

Creating lists, document libraries, surveys or discussions

By default, SharePoint Team Services sets up several lists (Contacts, Events, Announcements, Tasks, Links, and General Discussions) and a document library called Shared Documents. While this setup meets the fundamental needs of most teams, it is expected that teams will have unique needs for custom lists and document libraries.

Using the browser

Using FrontPage 2002

1. From the team site, click Create in the global navigation bar.
2. Select what type of list you want to create: for instance custom, events, import from Excel, or a document library.
3. Name the new list, add a description, and decide if it should appear in the Quick Launch navigation bar:
a. If creating a list from a spreadsheet, you will also need to indicate the file location.
b. If creating a document library, you may decide what application should start when a new document is created (default is Word).
4. Click OK.

1. Using FrontPage, open your Web.
2. From the File menu, select New, and either Document Library, List, or Survey.
a. If you select List, you will be offered a choice of lists to create. Select the one you wish to create, name it, and click OK.
b. If you select Survey or Document Library, you may step through a wizard.
3. Your new item has been created.

Modifying the attributes for a list or a document library

Just as the default SharePoint Team Web site contains a set of default templates for lists and document libraries, each of those lists and document libraries contain default attributes. You may add, modify, or delete most of the attributes in lists and document libraries.

Using the browser

Using FrontPage 2002

1. From the team site, click on the document library you wish to modify.
2. Click on Modify settings and columns.
3. In the columns section, click on Add new column.
4. Name the column and select the type of column you want - e.g. choice or text box.
5. Give the column a description, mark it as required or not, enter any other information that is required by the column type, and note if the column should be added to the default view.
6. Click OK.
7. Repeat steps for each attribute you wish to add.

1. Using FrontPage, open your Web.
2. Right click on the List or Document Library to which you want to add attributes.
3. Select the Field tab.
4. Choose to Add.
5. In the Add Field dialog box, name your field, give it a description (if desired), and choose the information type (single line of text, choice, etc).
6. Step through any other dialog boxes offered based on the information type you chose.
7. Continue steps 4-6 for any more attributes you wish to add.
8. Click OK.

Creating subwebs

A subweb is a complete SharePoint Team Services-extended web that is a subdirectory of the root web or of another subweb. Subwebs are the SharePoint Team Services mechanism for breaking up a Web site so that different areas can be owned and maintained by different people or groups. Each subweb can have many levels of subdirectories. By using subwebs, finer security granularity is automatic because each subweb maintains separate security settings.

Using the browser

Using FrontPage 2002

1. On the site home page's navigation bar, click on Site Settings.
2. In the Web Administration section, click on Create a Subweb.
3. Name the subweb.
4. Choose whether the subweb will inherit permissions from the root Web or if it will have unique permissions. If given unique permissions, assign a site manager (administrator).
5. Choose whether the subweb will be an Office.net site or blank.
6. Click on Submit.
7. You will be redirected to the Web server administration page.
If you want to begin working with the subweb, in the subwebs section, click on the subweb name. This will take you to the subweb administration page. From there you can configure the subweb.

1. Using FrontPage, open your Web.
2. From the File menu, select New, Page, or Web.
3. In the New Page or Web dialog, select Web site templates from under the New from template section.
4. Select SharePoint based team Web site and specify the location
5. Click OK.

Customization within the SharePoint Team Web Site User Interface

From the SharePoint team Web site UI, the site administrator or her delegate can customize the site as mentioned above. In addition to the shared customization features mentioned above, there are several customization and configuration tasks that can only be managed from the Web UI or which users might find easier to accomplish using the Web UI. These include:

  • Modifying the home page layout

  • Adding or customizing views

  • Adding and deleting users

  • Modifying access levels

  • Adding, modifying or deleting roles

Modifying the home page layout

While you can customize the basic layout of the home page using FrontPage 2002, the SharePoint team Web site UI is much more efficient for most tasks, since it offers easy drag and drop functionality.

  1. From the team site, click on Site Settings.

  2. Select Customize home page layout.

  3. Select a list from the left-most column and drag it to the desired location on the home page.

  4. Click Save.

Adding or customizing views

While you can edit pages and views using FrontPage 2002, adding or customizing a view is a very simple process from within the SharePoint team Web site UI and it is thus likely to become the preferred method for this task for most users.

  1. From the team Web site, select the List or Document Library you wish to customize.

  2. Click on Modify settings and columns.

  3. Click on Create new view.

  4. Name the view, select which columns should appear in the view and in what order (left to right), apply any sort as appropriate, apply a filter to see only a subset of items (such as <Modified By> <is equal to> <[me]> for users to see only the items that they have modified), and select the number of items to be displayed.

  5. Click OK.

Adding or deleting users and modifying a user's role

Adding or removing users can be accomplished in the SharePoint UI by the site administrator or her delegate.

Adding a user

User accounts can either be domain or non-domain accounts. It should be noted that users can also be added using the Invitation feature.

  1. From the team Web site, click on Site Settings.

  2. Under Users and Roles, click on Manage users.

  3. Click Add a user.

  4. Select whether to add a user or add a user from the domain.

  5. Choose the role level for the user.

  6. Click Add user.

If adding a user from the domain, that user can access the site using their domain credentials. If adding a non-domain user, a local account is created with the name and password that you supplied. If sending an invitation, the non-domain user's password is generated by SharePoint Team Services – users are advised to immediately change their password for security reasons.

Deleting a user

The process of deleting a user differs depending on whether the user account is a domain or non-domain account.

Deleting a domain account user

If a user is a domain account user, by removing that user from all roles, his account is effectively deleted, as far as SharePoint team Web site's are concerned. However, a domain account cannot be deleted by SharePoint Team Services.

  1. From your team Web site, click on Site Settings.

  2. Under Users and Roles, click on Manage users.

  3. Select the domain account users you wish to remove.

  4. Click on Remove selected user(s) from all roles.

Deleting a non-domain account user

If a user is a non-domain account user, the site administrator, or her delegate, can remove the user from all roles, but this will not actually delete the account. This differentiation, while slight in terms of access, becomes important when virtual account limits are in effect. One can remove a user from all roles and effectively cut off that user's access to the site; however, the virtual account will still exist. To delete a virtual account one must do the following:

  1. From your team Web site, click on Site Settings.

  2. In the Web Administration section, click on Go to Site Administration.

  3. Choose Click here to add or delete accounts.

  4. Select the user you want to remove.

  5. Click on Delete selected user(s).

If, at some point, you are trying to add non-domain account user and receive the error message: "Error adding one or more users: the following user names already exist:", the reason is most likely that the user was removed from all roles, but the account still exits on the server.

Modifying a user's Role

  1. From your team Web site, click on Site Settings.

  2. Under Users and Roles, click on Manage users.

  3. If you are in a subweb and you have not assigned unique permissions, you will receive the message "This page is available only for a Web with unique permissions." If you are in the root Web, or if your subweb was assigned unique permissions, you will see a list of users.

  4. Click on the user whose role you wish to adjust.

  5. Select (or deselect) the roles to be assigned to a user.

  6. Click on Submit. Roles will be updated.

Modifying access levels

A site manager or her delegate can decide whether a SharePoint team Web site is able to be accessed anonymously or only by users who are explicitly granted access to the site. Additionally, she may grant an access level other than browser. By default, anonymous access is granted on a SharePoint team Web site, at the browser level. To change this:

  1. From your team Web site, click on Site Settings.

  2. In the Web Administration section, click on Go to Site Administration.

  3. Choose Change anonymous access settings.

  4. If desired, select to turn anonymous access off.

  5. If anonymous access remains on, select the role level to grant to anonymous users. All role levels available on the site are possible options. Be extremely careful when selecting a new role level for anonymous users.

  6. Click on Submit.

Adding, modifying, or deleting roles

Roles are a very powerful tool for granting users particular access rights to the SharePoint team Web site. In addition to the five roles that are available by default, a site administrator can create new roles. By creating defined roles, such as Usage manager, the site administrator can delegate the authority to administer certain pieces of the site. In the above example, she would be delegating the responsibility for analyzing site use.

Adding a role

  1. From your team Web site, click on Site Settings.

  2. In the Web Administration section, click on Go to Site Administration.

  3. Under Users and Roles, click on Manage roles.

  4. Click on Add a role.

  5. Give the role a name and description.

  6. Assign rights to the role by clicking on the appropriate check box(es).

  7. Click on Create Role.

  8. The role has now been added to the master list of roles for that Web. For the role to be assigned to a user, the site manager must go to the Manage Users section of the Administration page and assign it from there.

Modifying a role

  1. From your team Web site, click on Site Settings.

  2. In the Web Administration section, click on Go to Site Administration.

  3. Under Users and Roles, click on Manage roles.

  4. Select the role you wish to modify.

  5. Make the desired changes.

  6. Click on Submit.

Deleting a role

  1. From your team Web site, click on Site Settings.

  2. In the Web Administration section, click on Go to Site Administration.

  3. Under Users and Roles, click on Manage roles.

  4. Select the role that you wish to remove.

  5. Click on Delete selected role(s).

Customization within FrontPage 2002

FrontPage 2002 tightly integrates with SharePoint Team Services. As mentioned in the first section, many of the customization capabilities offered via the team Web site can also be accomplished using FrontPage 2002. However, there are other capabilities that are available only with the use of FrontPage version 2002. Use Microsoft® FrontPage 2002 to:

  • Apply a FrontPage Theme

  • Insert graphics

  • Change the navigation of a site (creating new link bars or modifying pre-existing link bars)

  • Add a component to the homepage

  • Apply Rules

Applying a FrontPage Theme

  1. From FrontPage 2002, open your Web.

  2. Open the home page (if you want to see how the theme looks on the page).

  3. From the menu bar, select Format, Theme.

  4. Choose to apply theme to Selected page(s), if you want the theme applied to just the home page.

    Note: The theme preview Format Themes dialog does not display an actual representation of what a given theme will look like when applied to a SharePoint team Web sites. A best practice is to apply a theme of interest first to the home page to determine if it provides the look you are trying to achieve. Once you've determined which theme you'd like applied over the entire site, you can select to apply the theme to All pages.

  5. Select the desired theme.

  6. For applying themes to SharePoint team Web sites, be sure the box indicating to apply the theme using Cascading Style Sheets (CSS) is checked.

  7. Click OK.

  8. Save your page (if you had the home page open).

Insert graphics

  1. From FrontPage 2002, open your Web.

  2. Open the page on which the graphic will be placed.

  3. Place the cursor where you want to put the graphic.

  4. On the menu bar, select Insert, Picture, From File, and browse to the location of the image file.

  5. Click on the image and click Insert.

  6. Save your page.

Creating or modifying navigation

Creating navigation

If a site administrator or her delegate wants to include navigation bars in addition to the Quick Launch and Global Navigation bars included in the default SharePoint team Web site, she may do so. To add a link bar,

  1. Using FrontPage 2002, open your Web.

  2. Open the home page (or other) for editing.

  3. Select where you want to insert the link bar on the page.

  4. On the File menu, select Insert, Navigation.

  5. Select Link Bars, and click Next.

  6. Select a theme or use the page's theme.

  7. Choose the orientation of the link bar (vertical or horizontal).

  8. Click Finish.

  9. In the Link Bar Properties dialog box, select Create New.

  10. Add links as desired and arrange as preferred.

  11. Click OK.

Modifying navigation

SharePoint team Web sites have a global navigation link bar and a Quick Launch link bar installed by default. Using FrontPage 2002, a user with the appropriate role can add to or remove links from those link bars. For instance, links are added to the Quick Launch navigation in the order that they are created. A site administrator may prefer to have these links appear in alphabetical order, or grouped by type. The administrator can use FrontPage 2002 to modify the link bar to reflect these preferences.

  1. Using FrontPage 2002, open your Web site.

  2. Open the home page for editing.

  3. Right click on the navigation bar you want to edit, and click Link Bar Properties.

  4. Select Add link, Remove link, or Modify link depending on your changes. Or, if you want to change the order of the links, select the appropriate link and click Move up or Move down.

  5. Click OK.

Add a component to the a page

Components can be added to your SharePoint team Web site that allow you to easily get information from other sources on the Web. For example, you can add a component that gets stock price information.

  1. Using FrontPage 2002, open your Web site.

  2. Open the page to which you want to add the component.

  3. Place the curser where you want the component located on that page.

  4. From the menu bar, select Insert, Web Component.

  5. Choose the component type you want to add to the page, for instance, MSN component, and the component itself, for instance, Stock Quote.

  6. Click Finish.

  7. Save your page.

Apply rules

FrontPage 2002 provides the ability to set up workflow rules on document libraries. For instance, one can easily set up a rule that when a document is saved into a specific document library, approval must be granted from a specific person. When the rule is in effect, an e-mail is generated that is sent to the approver that informs him of a document pending approval. This is a simple example of the rules capability.

There are several simple but useful rules, including expiration of a document, requiring approval, archiving expired documents, making backup copies of all approved documents, creating an announcement on the home page for documents containing specific keywords or properties, and sending e-mail notifications to specific users when a document containing specific attributes is saved.

The rules can be as simple or as complex as the site manager desires. For example, a rule can be set that requires approval. Depending on the action of the approver, additional rules can execute based on whether the document is accepted or rejected. If the document is rejected, one rule might assign the document back to the author and add a task for that author to the task list. If the document meets with initial approval, a different rule might send the document to another person for review. In this manner, one can set up document libraries with workflow processes specific to that library.

To create a rule:

  1. Using FrontPage 2002, open your Web site.

  2. If you do not see your folder list, click View, Folder list.

  3. Expand the root folder.

  4. Right click the document library folder to which you want to apply a rule, and click Properties. (The default document library folder is called Shared Documents.)

  5. Click the Rules tab.

  6. Click Add.

  7. Follow the instructions in the Rules wizard to create your rule.

Other Customizations

There are a few other customizations you can accomplish neither through FrontPage nor through the SharePoint Team Services Web site UI. All of these have to do with SharePoint Team Services "in general" as opposed to specific modifications of a site.

Customizing the site template

It is possible to customize the default properties of lists, document libraries, site layout, etc. A common scenario that calls for this would be the desire to give groups within a company the ability to create a SharePoint Team site based upon a company standard. Each group, then, does not need to make individual customizations to, for example, add document templates or add the company logo.

There are a few things that need to be noted:

  • Only a single template can be used per Web server, so this solution makes sense in environments where all sites hosted on a server will require the same customizations.

  • To access the files, the developer needs access to the server.

Customizing templates using Collaborative Application Markup Language (CAML)

CAML is the Collaborative Application Markup language that is used to build and customize SharePoint Team Services Web sites. This XML-based language can do the following:

  • Provide schema definition to the site provisioning system about how the site looks and acts

  • Define Views

  • Define Forms

  • Act as a rendering language that performs functions in the .dll file, such as pulling a value from a particular field

One would use CAML as opposed to editing using FrontPage 2002:

  • If universal changes need to be made to a site, like adding a new logo that would apply to the main pages of every site created

  • If content type changes need to be made, such as adding Flash movies to the team Web site

  • Because it provides the ultimate in customization and flexibility; manipulating CAML allows a developer total control over site provisioning

Locations for key files

CAML, the XML language used throughout SharePoint Team Services, is found in many places throughout SharePoint team Web folders. The locations of files where you can edit XML include:

  • Program Files\Common Files\Microsoft Shared\web server extensions\50\templates\1033\xml – this is where you find the core XML files, including BASE.xml, docicon.xml, FLDTypes.cml, onet.xml, and stdview.xml

  • Program Files\Common Files\Microsoft Shared\web server extensions\50\templates\1033\Layouts\Tasks, \Announce, \Contacts, \CustList, \Discuss, \DocLib, \Events, \Favorite, \Voting. All of these folders include a schema.xml file that describes how each of these objects are handled within SharePoint. Each of these folders also includes .htm files that reference CAML.

Adding a List Template

The file ONET.xml contains several XML elements that can be customized:

  • Topmenuitems – a collection of elements representing the top navigation menu for each sub-web.

  • Listtemplate – there is a <listtemplate> element for every list and list type in the template. Each <listtemplate> defines a type of list that will be available to all webs on the site. Further, you can specify that a list is automatically created on all new sites.

  • Documenttemplates – this element contains all the templates that can be set as the default template for the document library.

  • Documenttemplatefiles – this element contains the locations of any files required for the <documenttemplate> record which holds it.

For every list that you want to add to the default template, you need to add a list template to ONET.xml. To do this:

  1. Open ONET.xml in Notepad.

  2. Add a new <listtemplate> record to the <listemplates> XML element – for instance, a new list that is pre-populated with project phases. The final record for the list template looks like this:

    <ListTemplate Name="projphases"
    DisplayName="Project Phases"
    Type="178"
    BaseType="0"
    Default="TRUE"
    OnQuickLaunch="FALSE"
    SecurityBits="111"
    Description="List of project phases."
    Image="_layouts/images/ittask.gif">

    </ListTemplate>

The Name is the same name for the list template; there should be no spaces. The image referred to in the last line is the image that appears in the title area of a page; it was customized as well by placing the new image in the <drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\50\Templates\1033\Images directory.

Pre-Populating a list template

Each list requires template files. These files are located at <drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\50\Templates\1033\Layouts. The following folders at this location contain template files that can be used to pre-populate the list template:

  • Announce

  • Contacts

  • CustList

  • Discuss

  • DocLib

  • Events

  • Favorite

  • Tasks

  • Voting

Each folder contains different files appropriate to the content type. Further, each list type included in the template has a Schema.xml file associated with it; this file defines the design of the list and any data that it might contain. In this example, the Project Phases list is a generic list, so we will use the CustList folder as our source of template files:

  1. Create a copy of the CustList folder in the Layouts directory.

  2. Rename it to the friendly name of the list that was created (in this example "Project Phases").

Once the template is created and the list type directory is copied and renamed, the pre-populated information can be added. This information is added by editing the Schema.xml file in the newly created template folder. If there is no <data> element, it needs to be added. It should be added inside the <list> element as the last entry after the <metadata> element. In this example of project phases, we want to capture the project phase title, user information as to who entered the project phase title and who may have last modified the project phase title. Therefore, two sample entries for the schema.xml file of the projphases template look like:

<Data>

<Rows>

<Row>

<Field Name="Title">On Hold</Field>

<Field Name="Author"><ows:UserID/></Field>

<Field Name="Editor"><ows:UserID/></Field>

<Field Name="owshiddenversion">0</Field>

</Row>

<Row>

<Field Name="Title">Planning</Field>

<Field Name="Author"><ows:UserID/></Field>

<Field Name="Editor"><ows:UserID/></Field>

<Field Name="owshiddenversion">0</Field>

</Row>

</Rows>

</Data>

Adding a company logo

It is possible to specify the home page logo that will be used when users create new sites using the Self-Service site provisioning add-in to SharePoint Team Services. To do this:

  1. Navigate to the Program Files\Common Files\Microsoft Shared\web server extensions\50\Templates\1033\Images folder.

  2. Rename home.gif to home_old.gif.

  3. Copy your logo to the directory and rename it home.gif.

    Note that this only works with GIF type images.

Adding a document template

You can create standard document templates that are available across all sites and all document libraries as one of the Document Template Type choices for creating a new document from the SharePoint team Web site. To do this:

  1. Create your document template in the appropriate application.

  2. Add a new folder named <YourCompany> to the <drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\50\Templates\1033\Layouts\DocLib\Template\ folder.

  3. In that folder, add your document template.

  4. Modify the ONET.xml file by created a new <documenttemplate> element.

The resulting XML reads:

<DocumentTemplate

DisplayName="ProductSpec"

Type="105"

Description="A product specification template.">

<DocumentTemplateFiles>

<DocumentTemplateFile

Name="<YourCompany>\ProductSpec.dot"

TargetName="ProductSpec.dot"

Default="TRUE"/>

</DocumentTemplateFiles>

</DocumentTemplate>

In the DocumentTemplate element, the type must be a unique number. For instance, the DocumentTemplate element for a Blank Word Document is Type="101". Since the EntireNet template is not a multi-file template, like Excel, only one <DocumentTemplateFile> element was created. If a multi-file template is created, there are several <DocumentTemplateFile> elements within one <DocumentTemplate> element. For instance, the Excel template reads:

<DocumentTemplate

DisplayName="Blank Microsoft Excel Document"

Type="103"

Description="A blank Microsoft Excel Document.">

<DocumentTemplateFiles>

<DocumentTemplateFile

Name="xl\xltmpl.htm"

TargetName="template.htm"

Default="TRUE"/>

<DocumentTemplateFile

Name="xl\sheet001.htm"

TargetName="template_files/sheet001.htm" />

<DocumentTemplateFile

Name="xl\sheet002.htm"

TargetName="template_files/sheet002.htm" />

<DocumentTemplateFile

Name="xl\sheet003.htm"

TargetName="template_files/sheet003.htm" />

<DocumentTemplateFile

Name="xl\filelist.xml"

TargetName="template_files/filelist.xml" />

<DocumentTemplateFile

Name="xl\style.css"

TargetName="template_files/stylesheet.css " />

</DocumentTemplateFiles>

</DocumentTemplate>

Mapping the document template Icon

If a Document Format icon graphic does not already exist in the docicon.xml file, it needs to be added. An icon can be mapped by opening the docicon.xml file in the <drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\50\Templates\1033\xml directory. A mapping element is created within the <byextension> element. It reads:

<Mapping Key="vst" Value="icvst.gif" />

The Key is the document format extension and the Value is the name of the icon file. When creating a new mapping, add the icon to the D:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\50\Templates\1033\Images directory.

Customizing the default cascading style sheet (CSS)

SharePoint Team Services sites use a cascading style sheet, ows.css, located at <drive>:\Inetpub\wwwroot\_layouts\styles. You can modify this file using a text editor or Microsoft Visual Interdev.

Using Active Server Pages (ASP) in a SharePoint Team Web site

It is possible to use ASP pages in a SharePoint Team Web site. However, you cannot place FrontPage components on ASP pages.

Conclusion

SharePoint Team Services provides a useful team Web site out-of-the-box. Teams can be up and running with document libraries, calendar, contact lists, and other collaborative features in literally a few hours. While the default settings will often suffice, users and administrators alike will appreciate the ability to customize everything from look and feel to document workflow rules.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.