MOSS Forum

 
Home » Forum » MOSS       Ask a questionRSS Feeds

SharePoint Feature

  Asked By: Dominique Higgins         Date: Jan 24, 2008      Category: MOSS      Views: 195
 

I want to code a sharepoint feature that will catch the save event on a
list...on the save event I want to redirect the user to a different
page.

I have never coded a "feature" ... can anyone point me in the right
direction as to the type of project I need to create that can
successfully be loaded as a feature within SharePoint/MOSS.

I am working with SharePoint 2007/MOSS - visual studio 2008 - win
Server 2003.

Tagged:    

 

3 Answers Found

 
Answer #1       Answered By: Hema Hegde          Answered On: Jan 24, 2008       

Try looking at either the SPListEventReceiver class or the
SPItemEventReceiver class.

SPListEventReceiver: http://msdn.microsoft.com/en-" target="_blank" rel="nofollow">http://msdn.microsoft.com/en-
us/library/microsoft.sharepoint.splisteventreceiver.aspx

SPItemEventReceiver: http://msdn.microsoft.com/en-" target="_blank" rel="nofollow">http://msdn.microsoft.com/en-
us/library/microsoft.sharepoint.spitemeventreceiver.aspx

 
Answer #2       Answered By: Lacey Daniels          Answered On: Jan 24, 2008       

yes Event handler is a good option for you.

 
Answer #3       Answered By: Megan Martin          Answered On: Jan 24, 2008       

I agree event  handler is a good options. What I
am interested in is what type  of project  do you create  to contain a
"SharePoint feature"? Is there some special *.xml file that has to be
created to support a feature? If so does someone have a sample project that
they can share that contains a SharePoint feature?

 
Didn't find what you were looking for? Find more on SharePoint Feature Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].