Tuesday, March 31, 2009

How to remove "My Settings" and "Personalize this page" menu items from the "Welcome" menu

You will sometimes want to hide certain menu items from the "Welcome" menu in the SharePoint site.
You can do the following:
1. Go to the following folder at the MOSS server:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\CONTROLTEMPLATES
2. Open file Welcome.ascx in the editor
3. There are more elements. For all those you don't want to display to the users, add the attribute:Visible="False"
For example:

Text="<%$Resources:wss,personalactions_personalinformation%>"
Description="<%$Resources:wss,personalactions_personalinformationdescription%>"
MenuGroupId="100"
Sequence="100"
ImageUrl="/_layouts/images/menuprofile.gif"
UseShortId="true"
Visible="False" />
This will hide "MySettings" menu.
WARNING: this is shared file on the Farm-level, so it means, if you do this, the items will not be visible at any SP site on your farm.
And, yes, of course, on the similar way you can add custom menu items under welcome. Just use the attribute
ClientOnClickNavigateUrl="BLOCKED SCRIPT..."
You can define JavaScript function to jump to the custom page or just use Window.Location() to write destination inline.

Monday, March 30, 2009

Chart, Print, SlideShow, BulkAction etc... WebParts for Free

Today I am searching for some free available WebParts and I came across SPElements.
There are couple of WebPart are available on the site for free....

Chart:Flash chart WebPart.
Print: Print lists & calendars from the 'Actions' menu
SlideShow: Beautiful Slide show (image rotation) WebPart
BulkAction: Add bulk actions such as bulk delete & bulk approval.
RSS Ticker: RSS Ticker/scroller WebPart.
List Constraint: List constraints feature: list size constraint, unique field constraint & foreign keys
ListAnyView: Display SharePoint list from any site in any site.

Configuring Single Sign On Service and Create WebPart

A good article on how to configure Single Sign On (SSO)
Once we setup the SSO on SharePoint server, you might need to develop a WebPart for SSO.
And here is the way to do that.
Some more links

http://www.sharepointblogs.com/llowevad/archive/2007/04/23/sharepoint-2007-single-sign-on-setup.aspx
http://blogs.msdn.com/roberdan/archive/2005/02/19/376629.aspx
http://geekswithblogs.net/tariq/archive/2004/09/07/10769.aspx
http://blogs.msdn.com/johnwe/archive/2005/02/16/374955.aspx
http://blogs.tamtam.nl/mart/ImpersonationSingleSignonAndSPS.aspx
http://www.sharepointblogs.com/charbel/archive/2007/05/01/moss-2007-single-sign-on-part-2.aspx
http://blog.u2u.info/DottextWeb/patrick/archive/2005/01/15/795.aspx

Tuesday, March 24, 2009

Migration from MCMS-2002 to MOSS-2007

Microsoft Content Management Server 2002 to MOSS 2007 Migration article is intended as a guide for technical person who are all working in migrating Microsoft Content Management Server (MCMS) 2002 applications to Microsoft Office SharePoint Server 2007. Click to read more...

SharePoint Content Deployment Wizard + APIs

Deployment of SharePoint artifacts is something that's perhaps more complex than it should be, and the standard tools provided don't always simplify this picture. Personally, over my past few MOSS projects, there have been several times when I've thought:
I just need to move this document library from A to B
I just need to move these selected files (e.g. master page, page layouts, CSS etc.) from A to B
I just need to move this web from A to B
I just need to move this site collection from A to B
I just need to move these 20 list items from A to B

Here is the answer to all the questions...
You can directly download it from CodePlex
==============API Base Approach=============
Stefan Goßner posted a great series of posts about the Content Migration API (formerly known as PRIME) for SharePoint (WSS 3.0 and MOSS 2007). In just 5 post he explains everything about this API and where SharePoint uses it. It's an excellent start point for many SharePoint administrators and developers out there. I also refer to this post in my training's about SharePoint as well.
Deep Dive Into the SharePoint Content Deployment and Migration API - Part 1
Providing some real world samples on export - Part 2
Providing some real world samples on import - Part 3
Advanced content deployment scenarios - Part 4
Avoiding common problems - Part 5




Friday, March 20, 2009

When You Need SharePoint Designer

Walk through a high-level summary of SPD's features and how these features should and should not be used. At the end of this article you should be able to identify those situations where SPD can be helpful and identify situations where using SPD may be more of a hindrance than a help. Read more...

Thursday, March 19, 2009

Simplifying SharePoint debugging by creating the troubleshooting toolbox

This series of articles is intended to help you getting ramped up with SharePoint programming. It’s about writing, troubleshooting and debugging SharePoint code. First you need to have prerequisite skills in .NET Development and in particular ASP.NET Development, you should also have basic understanding of SharePoint and how to use it from the User Interface , you must be able to create and deploy features and you should have some experience in working with content types and site columns. Click to read more...

Wednesday, March 18, 2009

AJAX Enable Tabs Web part in Sharepoint

First I would like to thank Mehul Bhuva and Bob German for their wonderful article.
We have a requirement of having Tabs for the webpart on a homepage, and I found this wonderful article on how to implement AJAX Enable Tabs WebPart

Controlling Single Web Parts with CSS

I often get questions about how can a particular web part be branded separately from all the rest or be branded by type. For example you want every Contacts list to have a green header bar instead of a tan header bar. Or perhaps you want a column of web parts on a page to look different than the main area that contains other web parts. Thanks to Heather I found the answer...

Create a SharePoint Site plan in less than 5 minutes

The screencast below is a five minute quick hit on how you might choose to utilize Mind Manager to do on the fly site planning with your team or client

Tuesday, March 17, 2009

Add user ratings and rich HTML comments to SharePoint pages

Tony Bierman's Community Content web part and Top Rated Content web part allow user to quickly rate a page's content and easily add rich HTML comments to SharePoint 2007 pages. Using these web parts, your anonymous users can rate the page content's quality and logged-in users can submit their own comments using a rich HTML interface.

Run SQL Queries and Fetch List Data from SharePoint Database (WSS_Content)

The information in a list is stored in the UserData table (which is an odd name for the table), and the lists themselves are stored in the Lists table. A list in the database has a GUID representation. Read more...

Playing Video in List Items

The problem of SharePoint's Rich text field is that it filters out a lot of the embedded code. This simple-to-install JavaScript adds a workaround for inserting embeddable content (flash, iframes, etc.) into SharePoint's Rich Text Field. Also you get an additional button in the toolbar for easy inserting of this content. Read more...

Understanding Record Management Feature

Many organizations and business have need to maintain their momentum of work in nice and in a perfect way. Work may include maintaining of documents, items, their repository. When we talk about documents, we should think in a bigger picture. Documents are not only stored, but they are actually shared and collaborated. Sharing means many other people can view it, and collaborate means people work on it, updates it, take an action on it, publishes it, needs meta data (who created it, when created it, who modified it, when modified it), give comments on it, approves it, makes the versions of it, compares them, expire based on policy defined and many more. This is where MOSS comes in to the picture. All these functionalities are built-in given. so why not to explore them.

Understanding Record Management Feature Part 1 - Document Information Panel
Understanding Record Management Feature Part 2 - Labeling
Understanding Record Management Feature Part 3 - Barcode
Understanding Record Management Feature Part 4 –Expiration Policy
Understanding Record Management Feature Part 5 – Auditing

Monday, March 16, 2009

MOSS Faceted Search

MOSS Faceted Search is a set of web parts that provide intuitive way to refine search results by category (facet). The code is available on CodePlex.

Tuesday, March 10, 2009

Embed Video and Audio files in the SharePoint Environment

This article was written in reference to:
How to add a movie player to MOSS
Video streaming in SharePoint

Adding JavaScript Tabs to SharePoint

One of the most under-utilized web parts by designers inside SharePoint has to be the content editor web part. The reason why it's so powerful is because it allows us to embed any markup we want right in the page. We will utilize this web part as well as adding some markup with SharePoint Designer to add some functionality to our SharePoint site. Here is the way how you can add Tabs in the SharePoint using JQuery

Saturday, March 7, 2009

Customizable Everyday Productivity Education

These simple, easy-to-use customizable job aids were created by Microsoft's internal IT group to help employees get started with learning more about using a technology or product effectively, selecting the right product or service, or reviewing best practices. The content for Windows Vista and the 2007 Office System were published a couple of months ago, and I (and likely most of you) somehow missed it. The EPE home page is at http://technet.microsoft.com/en-us/library/bb687781.aspx, but for your convenience, I've listed the SharePoint specific content below.
Collaboration Selection Guide
Collaborating with SharePoint Server 2007 Overview
SharePoint Server 2007 Sites and Workspaces Selection Guide
SharePoint Server 2007 Document Collaboration Get Started
SharePoint Server 2007 Team Sites Get Started
Customizing a SharePoint Server 2007 Site Get Started
SharePoint Server 2007 Web Parts Learn More
SharePoint Server 2007 Meeting Workspaces Get Started
SharePoint Server 2007 My Sites Get Started
SharePoint Server 2007 Site Access and Storage Learn More
SharePoint Server 2007 Surveys Get Started
Outlook 2007 and SharePoint Server 2007 Integration Overview
Outlook 2007 and SharePoint Server 2007 Integration Get Started
Using InfoPath 2007 Forms on a SharePoint Server 2007 Site Get Started

Content Type User Interface

If you haven’t worked with content types before you haven’t worked with SharePoint since WSS2 and the SPS2003 era. You may not realize this, but Content Types are the method by which you store data in SharePoint, whether you like it or not.
Content Types are schemas for information, defining what your items or documents should contain, how they should behave, and, most importantly for us in this article, how they should appear.
Before we go into user experience customization of content types, you should also know a few more things about content types

Friday, March 6, 2009

Creating & Adding Event Handler

In this article, author has create an event handler that captures the events of the document library and add an entry in the cell of the document added. It can add an event handler using code or as a feature. In order to write an event handler, we will first create a sharepoint site and create a document library. We will, then, capture the events of the document library.

Sample Event Handler to set Permissions

This is something I have been seeing the need for in the forums for quite some time, and today I found an hour to find this. A request is often made to have an event handler that automagically sets the permissions on a list item so that only the author of the item can edit it, while other people with contributor permissions on the library can only read it.Sometimes the logic is more complex, but I think this sample code should be enough to get anyone started!

Thursday, March 5, 2009

InfoPath Value Submitting to a SharePoint List

Here very basic but very useful blog for submitting InfoPath 2007 values into SharePoint 2007and displaying the submitted values click here
For me this example working fine.wonderful example

Migrating Lotus Notes to SharePoint

This article discusses Lotus Notes Migration approach and how to use Quest Notes to SharePoint Migrator tool.

Wednesday, March 4, 2009

Customize Search Control in SharePoint

This example shows the basic process of creating and implementing a delegate control candidate to use for the search box that is displayed on site pages. The control specifies alternate text and an alternate image file to use for the search box in Web sites where you activate the control.

Tuesday, March 3, 2009

SharePoint Delegate Control

A DelegateControl is a SharePoint ASP.NET control that acts as a placeholder for content or other controls. Think regular ASP.NET content placeholders but with a SharePoint Feature deployment method, meaning you can activate content on a page as you would activate any other feature in SharePoint. You might have seen these already is you’ve looked into the default.master file of a standard SharePoint installation. Read more...

CSS Reference Chart for SharePoint 2007

The CSS reference guide highlights the major styles used in MOSS and WSS v3 sites. The guide is organized by area of the page and include the style name, function, CSS file name and approximate line number and a sample screenshot of the style location on the screen.
Additionally, there is a "Copy to Clipboard" function that will copy the source code for the style to your client machine's clipboard for use in your own CSS file. Use these guides to identify styles that can be overridden for your custom branding and installation or to quickly reference style name and CSS information for customization. Note, Copy to Clipboard ONLY WORKS in INTERNET EXPLORER. This functionality will not work in Firefox due to restrictions with the Firefox browser itself.