I created a event receiver for survey list types "102" why I can't scope it as anything other then "Web" scoped. If its Microsoft's restriction only option I got is to add it to template and then save template and use it or using code activate it to every single web.

I am pretty sure I created a site collection based feature for a list before but didn't received this error.

Also Is there anyway I can attach any event handler to "Respond to this Survey" button in survey list as ItemAdding isn't helping.

  • I think that is the CKSDEV template for it that allows you to go beyond web scope. – Hugh Wood Nov 27 '12 at 11:48

In SharePoint 2007 Event Receivers are "Web Scoped" only, see this MSDN documentation,

and answer to your second question it is not possible with event receiver - check out the available event receiver - List Evenets & Item Events

  • thanks but what could be the solution as I figured out myself that there's Microsoft restriction on scope of feature and I am not sure why you given me link to types of item events ? :S – Muhammad Raja Nov 27 '12 at 11:38
  • You cant scope it to 'Site' so basically simple OOB way does not exists, as you have already figured out "using code activate it to every single web" - you can activate the feature with the help of powershell script or C# console application, that's not a huge task, will take your 15 mins time and I gave you item events link as you yourself mentioned "ItemAdding isn't helping", from the link you can understand ItemAdding is not supposed to help, better hear it from official doc than me – Diptarag Nov 27 '12 at 11:57
  • I understand that but whats the solution your proposing your answer :S – Muhammad Raja Nov 27 '12 at 12:16
  • I never proposed a solution, I just confirmed Event Receivers are "Web Scoped" only, so that you dont waste your time on making it site scoped, i thought proposing custom code solution would be redundant as you already figured that out, and your second requirement is not achievable - you definitely can not attach event handler to 'Respond to this survey', so what solution do you expect me to propose? – Diptarag Nov 27 '12 at 12:29

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.