Much more suitably qualified people on this list that me to answer this, as app-dev isnt my main focus, but event handlers are a pretty good place to start with SharePoint dev IMO as they tend to be relatively simple codewise (and therefore within my reach :-).
I use Brian Wilsonss feature/solution to take care of the deployment of the event handler. http://blogs.msdn.com/brianwilson/archive/2007/03/18/event-handlers-part-3-r egister-event-handlers-plus-free-site-settings-manage-event-handlers-add-on. aspx So in visual studio you will have to create a new class, add a reference to Microsoft.sharepoint.dll, paste in that code and build it. Have you gotten that far? In fact Brians article was all I needed to get started. You may find it useful in your endeavors. I recommend reading the other articles in his series http://blogs.msdn.com/brianwilson/archive/2007/03/18/event-handlers-part-2-b uilding-and-deploying-event-handlers-including-event-handler-starter-solutio n-kit.aspx From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MacDonald, Mike Sent: Friday, 1 February 2008 11:24 PM To: listserver@ozMOSS.com Cc: [EMAIL PROTECTED] Subject: [OzMOSS] Developer help! Hi All: I am 6 months new to sharepoint administration and we are using a WSS 3.0 environment. My problem is I want to create an event handler that will pull certain fields (other than the body, subject and email address) of an email and then create a new list item with the selected fields. For Example: Create an outlook form with fields like First Name, Last Name, Problem description, Contact method (choice field), ID, hardware used (choice field) Etc This is being used for a remote administration we are providing. Anyways, I have no experience developing in visual studio, but do have access to it. After a few weeks of research I have found the code for the event handler that I need to modify and found basic instructions to create an event handler, but I have been unsuccessful putting them together and building the solution in Visual Studio. The code that is responsible for pulling the Body, subject and email out of the box in sharepoint is: namespace TaskHandler { public class SimpleHandler:SPEmailEventReceiver { public override void EmailReceived(SPList list, Microsoft.SharePoint.Utilities.SPEmailMessage emailMessage, string receiverData) { SPListItem item = list.Items.Add(); item["Title"] = emailMessage.Headers["Subject"]; item["DueDate"] = System.DateTime.Parse(emailMessage.Headers["Date"]).AddDays(21); item["Description"] = emailMessage.HtmlBody; item.Update(); } } } However for me to edit it and make it work/deploy it as an event handler is not working to well. Anyways, ANY HELP that any of you developers can provide me with would be MUCH APPRECIATED!!! I am a quick learner! Thank you, Mike From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sezai KOMUR Sent: Thursday, January 31, 2008 10:13 PM To: listserver@ozMOSS.com Subject: [OzMOSS] RE: Custom Managed Properties Re-run the search crawl. If you have just mapped the Managed Property to a Crawl Property then you need to re-run the crawl again in order for the Managed Property to correctly map through to the Crawl Property. Ie. 1. Crawl once to detect the Crawl Property 2. Create a Managed Property and Map it to the Crawl Property 3. Run the crawl again after mapping the Managed Property Sezai Kömür Senior Developer - BEng, BSc - Microsoft Certified Technology Specialist - HYPERLINK "http://www.moss2007.com.au/"http://www.moss2007.com.au/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Noble Sent: Friday, 1 February 2008 1:12 PM To: listserver@ozMOSS.com Subject: [OzMOSS] Custom Managed Properties Hi All, [Sorry this is a bit long winded] I have a custom Managed Property that is mapped to a Crawled Property. The Crawled Property is a metadata element in an aspx page, and has been crawled and discovered by the query engine. I know that the property has been found because on the crawled property page it lists some sample documents that use the property. The problem I am having is that the Managed Property is returning blank when I perform a search, and when I look at the Managed Property properties it has Number of items found with this property: 0 in the Content using this property section. Example metadata element: <meta name="MD.Title" content="test page" /> Thanks for your help Roger [For those who are interested in hearing about my last problem. The client still wanted the documents to be crawled instantly when a page was created so Im starting an incremental crawl every time. So far this works fine, but has not been tested under load.] IMPORTANT NOTICE: This e-mail message is intended to be received only by persons entitled to receive the confidential information it may contain. E-mail messages to clients of Oconics Pty Ltd may contain information that is confidential and legally privileged. Please do not read, copy, forward or store this message unless you are an intended recipient of it. If you have received this message in error, please forward it back to the sender and delete it completely from your computer system. ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.18/1254 - Release Date: 31/01/2008 8:30 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.18/1254 - Release Date: 31/01/2008 8:30 PM ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net