Saturday, April 18, 2009

Enable debugging in SharePoint

Open C:\Inetpub\wwwroot\wss\VirtualDirectories\sitedir\web.config You should also configure your SharePoint site to display any error messages that are generated by setting the customErrors tag's mode attribute to Off (the default setting suppresses all error messages): To get the full list of called modules listed on the error screen, you'll also need to set the SafeMode's CallStack attribute to "true":

Insert data into the splist

Monday, April 13, 2009

Application pages in sharepoint

<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase" %>

Saturday, April 11, 2009

difference between .dwp and .webpart

The difference is .dwp was the file extension used in version 2 of SharePoint and .webpart is a new extension used in version 3.

Sunday, April 5, 2009

SharePoint CAML Query

//Products list should have Price col, and productName col. it gets the data of products which r price >10 and <50 SPWeb web = new SPSite("http://spdevserver:12261/sites/spsite1/").OpenWeb(); SPList list = web.Lists["Products"]; SPQuery query = new SPQuery(); string str = "1050 10 40"; query.Query = str; SPListItemCollection items = list.GetItems(query); foreach (SPListItem item in items) { System.Console.Write(item.DisplayName); System.Console.Write("\n"); }

Wednesday, March 25, 2009

diff between WSS 3.0 and MOSS 2007

Differences between WSS and MOSS When thinking of WSS and MOSS, the important thing to understand is that WSS is the foundation and MOSS is an optional add-on. In fact, you cannot install MOSS by itself. If you try to do this, you will be requested to install WSS first. So, the question is: What differs between WSS and MOSS? If you have never seen SharePoint before, some of these answers might be hard to understand. Give it a try anyhow. The following chapters further flesh out the following points. Windows SharePoint Services 3.0 WSS 3.0 has the following characteristics: • q It is a web-based application. • q It stores all information in an MS SQL database. • q It displays information using web parts. • q It has good document-management features. • q It has a number of list types that you can use for storing all kinds of information. • q It allows you to build workflow solutions that start when a document is changed. • q It is perfect for simple, but effective, intranet solutions. • q It is ideal for collaboration on project data, meetings, social events, and the like. • q It has its own index and search engine. • q Its lists and libraries can operate as RSS Feeds. • q It comes with site temples for creating Wiki and Blog sites. • q It is a free add-on to MS Windows 2003 Server (any edition). In other words, WSS is the perfect place to collect information for your projects, your customers, and your meetings. You can move all documents from your file system into WSS and by doing so get access to the powerful document-management features it offers. It is also a very good solution when you need local intranets for teams or departments. And all this is free when you run Windows 2003 Server! But there are things that WSS does not offer. The following are just a few examples: • q There is no support for indexing and searching information outside the WSS. • q It has no advanced intranet features, such as targeted information and content management. • q It has no advanced document management features, such as document policies. • q It has no record management of legal and other important documents. • q It cannot display InfoPath forms in a web browser. • q It cannot display MS Excel spreadsheets as web parts. • q It comes with less than 10 web parts. • q It cannot read and write to and from external databases. This is where MOSS comes in. MS Office SharePoint Server 2007 MOSS 2007 uses the same types of sites as WSS 3.0 but adds a lot of functionality to WSS 3.0, making it possible to do the following: • q Use global search functionality to find any type of information regardless of type and location. • q Target information to one or more user groups. • q Import user data from Active Directory. • q Use advanced content management for public Internet sites or portal sites. • q Use the RSS web part to list information fetched from RSS feeds. • q Display and use InfoPath forms with a web client, using the Forms Service. • q Display MS Excel spreadsheets and charts in a web part, using Excel Services. • q Search, display and edit content in external databases, such as SAP, using Business Data Catalog. • q Give each SharePoint user a personal web site, for both private and public use. These characteristics make MOSS a very good solution for building public Internet sites or global intranets that are smart enough to show the right information to the right people. MOSS is also a good solution when you want to build a site for displaying business data, such as MS Excel spreadsheets, forms, and key performance indicators (KPIs)

Sunday, March 8, 2009

Benefits of Office SharePoint Server 2007

What are the Benefits of Office SharePoint Server 2007? • Improved management of online content • Integrated document and record management system complete with workflow and versioning • Easy-to-use tools that are tightly integrated into familiar applications such as Word, Excel and Outlook • Connect people with information and expertise through enhanced search and alerts • Greater control over storage, security, site model & deployment • Collect critical business information from information workers, customers and partners using Forms Services • Present business-critical information from one central location • Share business data without divulging sensitive information • Enterprise portal includes Site Directories, My Sites, social networking and privacy control • Generate a simple, familiar and consistent user experience • Highly customisable with full ASP.NET functionality • Extensible enterprise scalability

Followers