1

I have developed an item event receiver with itemadded and itemupdated event handler using VS 2013 against SP 2013 ON-PREM soln.

Now as per my updated requirements, I need to add a new itemdeleted/itemdeleting and ItemAttachmentAdded(SPItemEventProperties properties) etc kind of event receivers on top of this.

How can I do this using the VS designer surface? is there any shortcut key for this to open up for adding more item event receiver methods on top of existing item event receivers?

I want to get this UI Dialog back again for adding few more methods:

add-this-UI-AGAIN

2

Unfortunately, this dialog is only opened during creating a new event receiver

Meanwhile, you can achieve your goal ( I need to add a new itemdeleted/itemdeleting and ItemAttachmentAdded(SPItemEventProperties properties) etc) easily by doing the following:

  • Right click on your event receiver as shown below > select Properties.

enter image description here

  • All events should be listed as shown below.

enter image description here

  • Just check which event you will need then change it from false to true.

  • The event function should be now added as shown below.

enter image description here

  • 1
    thats nice to know! :-) i will try to implement and revert here! – SaMolPP May 24 '17 at 21:28
  • Take your time :) hope it help you :) – Mohamed El-Qassas MVP May 24 '17 at 21:30
  • Hi @SaMolPP Do you get another answer for your question? Please If this answer solved your question, mark it as the accepted to be useful for future visitors. Thank You! – Mohamed El-Qassas MVP Jun 6 '17 at 16:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.