If i have an Event Receiver inside my SharePoint 2013 ,, is it suppose to work in sharepoint 2016 as-is
-
17-12-2020 - |
Question
I am created many Event Receivers inside SharePoint server on-premise 2013. using the following technologies:
- visual studio 2012.
- the event receivers mainly got executed when list items are updated, created on Wiki Pages and custom lists.
now my question if my current .wsp
files can work as-is inside sharepoint server 2016 ? or i need to create new .wsp
files using Visual studio 2015 and related tools??
Regards
Solution
There is no reason it should not work, unless there are problems with your code itself. Once a solution package has been deployed, your event receivers are applied to the list or library directly: there is nothing in the upgrade process that would reapply your solution package.
You can view a list of the Event Receivers currently installed using the PowerShell script below:
$url = "http://yoursiteurl"
$title = "YourListTitle"
$web = Get-SPWeb $url
$list = $web.Lists[$title]
$list.EventReceivers
OTHER TIPS
We upgraded our SP2013 to SP2016. The most of our WSPs werent upgraded and all of them work as expected.