CAML allows you the ultimate flexibility and extensibility with your Web sites based on SharePoint Team Services from Microsoft. If you want to make a universal change to all the sites that you are creating within your company — for instance, you want to change the logo to match your own company logo, or you want to add an Employee ID field to your document libraries — you must use CAML to do it.
Since CAML is located within several of the folders installed with SharePoint Team Services.
Example - Customizing the top link bar
To add a new item to the top link bar of your SharePoint team Web site, do the following:
1. In the Program Files\Common Files\Microsoft Shared\web server extensions\50\Templates\1033\xml directory, open ONET.XML.
2. At the top of the ONET.XML file, find the TopMenuItems section. The first item listed in the collection corresponds to the item that appears farthest to the left on the link bar.
3. Add a new node where you would like the new item to appear on the link bar, including the file name of the page you want to link to, such as follows:
<TopMenuItem Name="NewNavigationItem" DisplayName="New Navigation Item" Url="_layouts/NewNavigationItem.htm"/>
The URL is relative to the root of the SharePoint team Web site.
4. Add your new page to the
Quote:Program Files\Common Files\Microsoft Shared\web server extensions\50\Templates\1033\Layouts directory.
5. Create a new subweb.
All new sites will contain your new page in their individual _layouts folder within the wwwroot directory, and the top link bar will now include a link to the new page.