Thursday, June 5, 2008

Introduction to Sharepoint 2007-part1

After a long time i come back to my home site.While this around last one year lot of things happend.
k...mum...
from now onwords i have been blogging...
From this blog on words i posted my learning MOSS stuff step -by-step.This is Categerized Chapters N Parts.
I hope MOSS hunters will Enjoy through my posts and my Chapters will stop digging MOSS...
Start Machiiiiii...start
Chapter 1
Getting Started
SharePoint technologies provide an effective solution for creating team sites to facilitate collaboration in a LAN-based environment and make it easier to manage content in an Internet-facing site that can scale to accommodate thousands of users in a Web farm environment.
Windows SharePoint Services as a development platform.
Our goal is to teach you how to create, debug, and deploy the fundamental building blocks such as Features, Site Definitions, Page Templates,Web Parts, List Schemas, Content Types, Event Handlers, and Workflow Templates.
Site Provisioning
WSS is a site provisioning engine.
The act of provisioning (a fancy word for creating) a site in WSS can be accomplished by any member of the IT department in less than a minute by filling in the required information in a browser-based form and clicking the OK button. There’s no need for a database administrator to create a new database or any new tables. There’s no need
for an ASP.NET developer to create a new ASP.NET Web site. There’s no need for a system administrator to copy any files or configure any IIS settings on the front-end Web server.

Microsoft Office SharePoint Server 2007
WSS is included as a part of the Windows Server 2003 operating system while MOSS is a separate product . You should think of WSS as the underlying platform and think of MOSS as a value-added set of components and services that has been built on top of this platform.
WSS does not have its own licensing model. Instead, the use of WSS is controlled through Windows Server 2003 licenses. MOSS, on the other hand, has its own licensing model.

farm is a set of one or more server computers working together to provide WSS functionality to clients. Each WSS farm runs a single SQL Server database known as the configuration database. The configuration database tracks important farm-wide information. For example, the configuration database tracks which front-end Web servers are associated with the farm as well as which users have been assigned administrative permissions within WSS at the farm level.
WSS is built on top of Internet Information Services 6.0 (IIS). In particular, WSS relies on IIS Web sites to handle incoming HTTP requests. Therefore, you need to understand exactly what an IIS Web site really is. An IIS Web site provides an entry point into the IIS Web server infrastructure. For example, the Default Web Site created automatically by IIS listens for incoming HTTP requests on port 80. You can create additional IIS Web sites to provide additional entry points using different port numbers, different IP addresses, or different host headers.
An IIS Web site must be specially configured when it is used to serve up WSS sites.
An IIS Web site that has been specially configured to run WSS sites is known as a Web application.Every WSS site runs in the context of a specific Web application.
The installation of WSS creates and configures a Web application named the WSS 3.0 Central Administration application. The WSS 3.0 Central Administration application provides pages that allow you to perform administrative chores such as converting a standard IIS Web site into a WSS Web application. The WSS Central Administration application also provides the option to create a new IIS Web site and automatically configure it to be a WSS Web application as well, all without having to use any of the IIS administration tools directly.

Default Web Site can be configured as a WSS Web application to make WSS sites available through the standard HTTP port 80. You might decide to create additional Web applications within the farm such as an intranet Web application on port 1000. WSS configuration data is stored on a farm-wide basis in the configuration database, and the data associated with WSS sites is tracked in another type of database known as a content database. When you create a new Web application with the WSS 3.0 Central Administration application, WSS creates a new content database. If you stick with a simple deployment model, your farm will include one content database for each Web application,as shown in Figure 1-2.

Sites and Site Collections
What is a WSS site? First, a WSS site is a storage container for content. Site content is primarily stored in the form of lists, document libraries, and child sites. Second, a site is a securable entity whose content is accessible to a configurable set of users.
Note that WSS doesn’t actually perform user authentication. Instead, WSS relies on the underlying layers within IIS and the ASP.NET authentication provider infrastructure to accomplish that. However, WSS does take charge when it comes to authorization. WSS provides user interface elements and supporting code that allows privileged users to configure authorization to various elements within their sites.
Every WSS site must be provisioned within the scope of an existing Web application. Instead, every WSS site must also be created inside the scope of a site collection. A site collection is a container of WSS sites. Each site collection requires a top-level site. In addition to the required top-level site, a site collection can contain a hierarchy of child sites. Figure 1-3 shows several possible site collections.

WSS architecture sees each site collection as an island with respect to security configuration.
The STSADM.EXE Command Line Utility
Here’s an example of a command line instruction to create a new site collection at a specific URL.
STSADM.EXE –o CreateSite –url http://localhost/sites/Sales
-ownerlogin LitwareServer\BrianC
-owneremail brianc@litwareinc.com
-sitetemplate STS#0
c:\program files\common files\microsoft shared\web server extensions\12 called as system directory.
Users can also create several types of custom site elements for reuse across all the sites within a site collection. For example, if you create a site column within a top-level site, then this site column is reusable in all the child sites down below. This allows you to define the column characteristics such as formatting, validation, or a choice list one time and then to use this reusable column type across many lists within the site collection.
The standard Site Settings page for a top-level site is shown in Figure 1-8.

The Site Actions menu also provides the Create menu command, which takes you to the Create Page, as shown in Figure 1-9.

Customization changes are seen by all users. Personalization changes are seen by only the user who made them.
A site customization never requires touching the front-end Web server. WSS development, on the other hand, involves working with files that must be deployed to the file system of the front-end Web server. WSS development includes creating page templates and list definitions, as well as creating components deployed in compiled assemblies such as custom Web Parts, event handlers, and workflow templates. WSS development at this level is also referred to as developing provisioning components.
A site column is a reusable column definition that can be used across multiple lists. A site column defines the name for a column, its underlying field type, and other characteristics such as the default value, formatting, and validation.
A content type is a flexible and reusable WSS type definition that defines the columns
and behavior for an item in a list or a document in a document library
. For example, you can create a content type for a customer presentation document with a unique set of columns, an event handler, and its own document template. You can create a second content type for a customer proposal document with a different set of columns, a workflow, and a different document template. A content type deal with heterogeneous types of content in lists and document libraries.
WSS is built on top of Microsoft’s new Windows Workflow Foundation that is part of the .NET Framework 3.0.WSS adds an extra dimension on top of the Windows Workflow Foundation to provide a foundation for attaching business logic to list items and documents in a WSS site.
Both WSS and MOSS ship with workflows that are installed and ready to use. WSS includes a simple routing workflow for things such as moderation and approval.

Friday, July 6, 2007

how to create a sharepoint site,pages,edit the page and page templates in MOSS207

Administration Guide For a Internet Site
Office SharePoint server 2007 Internet portal site
My portal site is a Windows SharePoint services site collection containing a top level site and several child sites (aka sub sites) underneath it.
My Site Architecture looks like the following diagram


Creating a portal site using the Windows Sharepoint services central Administration application
If we want to create a portal site from the scratch then first of all we need to create a new web application. Creating a new web application and creating site collections, top level sites can be done from the SharePoint central administration application.
Let's open the SharePoint 3.0 central administration application from the start menu and Navigate to the application management page (a link is there at the top of the page) and here we will see a link like create/extend web application-which is basically used to create or extend a web application.


Clicking on this link will bring a page where we can create a new web application.
On the Application Management page, in the SharePoint Web Application Management section, click Create or extend Web application.
On the Create or Extend Web Application page, in the Adding a SharePoint Web Application section, click Create a new Web Application.
On the Create New Web Application page, in the IIS Web Site section, select one of the following:
• In the Description box, accept the given description or type a new description for the Web application.
In the Port box, accept the given value or type a new value for the port the Web application will use.
Leave Host header as Blank.
In the Path box, accept the given path
. In the Security Configuration section, under Authentication provider, select NTLM (which is by default checked)
Under Allow Anonymous, select Yes.
Under Use Secure Sockets Layer (SSL), select No (which is by default checked)
In the Load Balanced URL section accept the URL provided.
In the Application Pool section go with default values, and provide username and password in Configurable section.
In the Database Name and Authentication section give a meaningful name as Database Name.

Leave any other sections as Default and click OK.
Now a web Application will be Created. [Note: This process will take few minutes]

After filling up the data that are required to create a new web application we will have a link called site collection. This is the link that will create a site collection inside this newly created web application. So we have a top level site here. Now we can start developing on this top level site or even we can create sub sites/child sites underneath of this site.

In Create Site Collection Page Title and Description spacify your Toplevel site Tile you would like (For Example “Start”) and fill Description.
Most Important Section is Selection of Template Section .In our contest we are selecting Publishing Portal (In “Select a template” section click on Publishing button, in this collaboration, publishing portal template has come).
In Primary Site Collection Administrator section spacify the administrator for this website collection. Click OK. [Note: This process will take few minutes]

Click on http://servername:port/ .
How to create a sub-site
I would like to create a subsite. OK [See the Architecture diagram for better clarification]
Goto SiteActions->Click on Create Site

In Title section Spacify your site Name and Description.
In Web Site Address section spacify your name what u wish.
In Template Section select your template what u want.(You can add more templates in Template Section).See How to save a site as a template section in this documentation
Other sections are default.
Click OK.
How to Delete a site
Here HR,Press Releases are two sites.
Click on site name you wish to delete (For example: Press Releases)
Click on Modify All Site Sections

Click on Delete the site in the Site Administration section in the following page. You can delete your site(and all the sub-sites in the underneath of your selected site).

How to create a New Page
First choose under which site u would like to create a new page.Click on that Site,Next Goto SiteActions ->Click on Create Page.

In the above page Page Title and Despcripion section spacify your page name and in Page layout section select proper page layout.Next click on Create.
In the above diagram you can edit content, you can add webparts wherever you want. Next you check in your page. At last you have to publish your page.
How to Edit a page
From Site Actions->Click Edit Page
Suppose I would like to add a webpart to my page.On the above diagram Click at “Add a Web Part” where you want to add your webpart.

One separate window will come.In this a collection of web parts are available from various sections like List and libraries,All web parts etc…
Select proper webpart click Add button.
Suppose I added a Content Query Web Part it looks like the following

If you would like to edit the properties of a webpart
Click on edit on pop-up manu will appear->Click on Modify Shared Web Part.One properties window will come.From here you can change .Show below window.
How to save a site as a template
On browser use this http://servername:portno/site/_layouts/savetmpl.aspx click enter.
Click OK Button.

If u want to check the site template goto SiteSettings in Look and Feel Section click on Pagelayouts and Site Templates.
In the above diagram Select our “ementor_template” click add .Next click OK button.
If u want to create a new site using your ementor_template.When you create a new site select your template from Template Section .

Wednesday, July 4, 2007

Dedicated to Sharepoint Stuff

This blog is dedicated to SharePoint N other MS Technologies.
It will be only WSS 3.O and MOSS2007.
The following posts will be a series of articales of each bussiness problem i faced in my real time with solutions.
Enjoy!

Hi Good Mornig to All

This is Naveed.
From today onwords i am ready to post my views N opinions on my blogs.I hope all r enjoy.I wellcome to all for ur suggesions N guidence.