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…


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”….


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…  Issues found this Andrew’s timer job: I used…


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…