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