Sun Application Server Startup Command: /opt/SUNWappserver/bin/asadmin start-domain --domaindir /opt/SUNWappserver/domains --user admin

Thursday, May 17, 2007

Creating a custom Site Definition in MOSS 2007

1. Go to: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates, Then copy the sts directory and paste it in the same directory. Rename the Copy of sts directory to CustomSite

2. Go to: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033
Copy the sts directory and paste it to the same directory.
Rename the Copy of STS directory to
CustomSite

3. Under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML
Create a file called WEBTEMPSAMPLE.XML in the following directory:

Put the following XML into the WEBTEMPCustomSite.XML file:

<?xml version="1.0" encoding="utf-8" ?>

<!-- _lcid="1033" _version="12.0.4017" _dal="1" -->

<!-- _LocalBinding -->

<Templates xmlns:ows="Microsoft SharePoint">

<Template Name="PSIWeb" ID="10002">

<Configuration ID="0" Title="Custom Site" Hidden="FALSE" ImageUrl="/_layouts/images/stsprev.png" Description="This sample template creates a site for teams to create, organize, and share information quickly and easily. It includes a Document Library, and basic lists such as Announcements, Calendar, Contacts, and Quick Links." DisplayCategory="CustomSite Definitions" > </Configuration>

<!-- <Configuration ID="1" Title="Custom Blank Site" Hidden="FALSE" ImageUrl="/_layouts/images/stsprev.png" Description="This sample template creates a Windows SharePoint Services-enabled Web site with a blank home page. You can use a Windows SharePoint Services-compatible Web page editor to add interactive lists or any other Windows SharePoint Services features." DisplayCategory="Custom Site Definitions" > </Configuration>

<Configuration ID="2" Title="Custom Document Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/dwsprev.png" Description="This sample template creates a site for colleagues to work together on documents. It provides a document library for storing the primary document and supporting files, a Task list for assigning to-do items, and a Links list for resources related to the document." DisplayCategory="Custom Site Definitions" > </Configuration> -->

</Template>

</Templates>

4. Restart IIS:
Start/Run/cmd ENTER
Run this command iisreset


1 comment:

Location de voiture casablanca said...

Pretty great post. I simply stumbled upon your weblog and wanted to say that I've really enjoyed surfing around your blog posts. In any case I'll be subscribing for your feed and I am hoping you write again very soon!