How to save list template as template with event reciver attached to it ?

Hi ,

  i have created a list item event reciver for a list(members) of my subsite (ApplicationSite)

    Root >SPC > ApplicationSite

     my event reciver is working fine in my development server  ,i save this list as template (members_template) and move it to other server(server2) and created a list using my list template (members_template) ,list is created successfully , but event reciver is not working now.

Note: 1. In server2 site hirarchy is different 

    Root >Site1 >SPC > ApplicationSite

2.Event reciver is deployed , is that site hirarchy is creating problem ?

Please provide me some solution , so that i can move my list template and event reciver to other server .



July 12th, 2013 1:42am

Hello,

I believe you have deployed your event receiver using WSP package into server 2. Have you activated feature from manage site feature or site collection admin feature from site settings (Based on feature scope).

Two more points:

1. If your site hierarchy is different then you have to change the SPSite and SPWeb class with new site URL.

2. You also need to change the feature.xml  and Keep the scope of your feature to "Web" and not "Site" (if any). So you could be able to activate feature at subsite level.

Let us know in case any doubt 

Free Windows Admin Tool Kit Click here and download it now
July 12th, 2013 4:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics