Hi guys,

I am trying to programmaticaly attach an event handler to a system content 
type. Has anyone tried this before? This is the problem and solution I have 
thought about:

Problem:
1) All items of my site collection must be added with two columns for searching 
purposes;
2) These columns have to be programmatically setup and have to be hidden.

Solution:
1) I created a site column to the System.Item content type so that every 
content type in my site collection gets added with those automatically;
2) I have created an event handler to populate these columns every time an item 
is created;
3) Now, how can I attach this evt handler to the System.Item content type? If 
it is not possible I will have to attach it to every content type of my site 
collection.

Please let me know what you think about this solution.

Any help would be much appreciated.
Cheers,
Miguel Lima.


      Make the switch to the world's best email. Get Yahoo!7 Mail! 
http://au.yahoo.com/y7mail


------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.

Powered by mailenable.com

Reply via email to