SharePoint 2010 is coming

In SharePoint 2010 training this week… a lot of good stuff

1

How to hide Send To Records Center menu option in MOSS?

MOSS delivers a Records Center site template which can be used for records managment, but once this is configured every user in the farm will be able to send documents to Records Center by using the context menu Send To -> Records Center. This is usually not desired since enterprise would normall develop a systematic way of submitting records…

1

How to start a workflow programmatically in the InfoPath code using Workflow web service

How to start an Approval workflow programmatically in the InfoPath form code?   Create a web reference that points to http://yourSiteUrl/_vti_bin/workflow.asmx . Configure an Approval workflow in your form library and capture the template id. From form library settings->workflow settings, click the workflow name, right click in the page to View Source. Search for “templateid”….

5

How to sign an InfoPath form template with VeriSign certificate?

VeriSign code-signing certificate comes as 2 files including 1 certificate file (.spc) and 1 private key file (.pvk). The following describes what we had to go through at my customer to digitally sign the InfoPath form template which has the Full Trust level set. 1. Download pvk2pfx.exe tool and run the tool to generate pfx…

5

How to exclude a site collection from being indexed for a global search but not for local search?

Customer creates a Records Center site collection as a centralized place for archived documents and they don’t want to include archived documents in the global search results (All Sites search) even when the user has the right permission to access these documents, but the content should still be available if user goes to the site and…

2

How to create a custom timer job in SharePoint 2007 (MOSS)

Came across Andrew’s post about how to create a custom timer job in MOSS. I’m working on a Lotus Notes application migration project and I’m planning to recreate some Lotus Notes application Agents (scheduled jobs and notifications) in MOSS using custom timer job. Will post follow-ups on this later… http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx  Issues found this Andrew’s timer job: I used…

2

How to display current user’s full name, email and other info in InfoPath?

Itay has blogged the exact steps and screenshots on how to display current user info (email, full name, manager, etc) in InfoPath form by calling UserProfileService.asmx in MOSS 2007, most importantly without writing any code! http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx Note:  I was getting the following error during my first try: The query cannot be run for the following DataObject: GetUserProfileByNameInfoPath…

10

How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?

People alway ask how to use their own 404 file not found error page vs. the generic one from IE in MOSS environment. The following example catches the 404 error and sends users to a redirect page.   Here’s the steps:   1. In your MOSS server, make a copy of %systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033\sps404.html and call…

16

Evaluate partner solutions that support migration from SPS 2003 to MOSS 2007

 A customer is looking to migrate their SPS 2003 content to MOSS 2007 and also restructure their sites during the migration process. None of the standard upgrade approach from Microsoft would accomplish that and I’ve been evaluating some partner solutions that support content migration from WSS V2/SPS 2003 to WSS V3/MOSS 2007. The following 2…

4

How to restore a portal site from SQL database backups in SPS 2003

Right before the scheduled time for production upgrade from SPS 2003 to MOSS 2007, my customer’s SPS 2003 production environment was down. The database server was running on SQL Server 2000. The DBA told us ALL the SharePoint datababases just disappeared overnight and they didn’t have any script to track who deleted them or it’s…

1