3

I need to add an event receiver on a list in substite.
My list is: test
in subsite: /sites/mysite2

I tried a lot of combination but always same result when i try to deploy:

The list doesn't exist

If I browse this in IE it works: /sites/mysite2/Lists/test

7

Deploy your feature to Web Scope and enable the feature on your subsite.

Feature Scope

Register the event receiver (element.xml) with:

<Receivers ListUrl="Lists/test">

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.