Domanda

I am created many Event Receivers inside SharePoint server on-premise 2013. using the following technologies:

  1. visual studio 2012.
  2. 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

È stato utile?

Soluzione

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

Altri suggerimenti

We upgraded our SP2013 to SP2016. The most of our WSPs werent upgraded and all of them work as expected.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top