2016 itemupdating updating apps in itunes
Indeed, all asynchronous event can be defined as synchronous!
This will allow us to pre-fill the data in our forms before the user does not grasp anything!
In our case we have registered the following Receiver Definition with the list- Let’s investigate the code for register Remote Event Handler – Since this a Before Event (as explained in one of the earlier post “”), we need to write the Code in “Process Event” Method.
Step 1 is to check the type of Event that triggers this Event Receiver by making use of “SPRemote Event Type” Enum and “Event Type” Property of the “SPRemote Event Properties” object Step 2 is to check the List Title by making use of “Item Event Properties” collection of “SPRemote Event Properties” object and ensure that we are handling Delete Events received only from a specific which in our case is “Products” Step 3 is to check for the desired condition and if satisfied then set “Error Message” and “Status” properties exposed by “SPRemote Event Result” object.
In this fourth article in the series on Remote Event Receivers, we will look into some of the applicable business cases around the Remote Event Handlers.
You can reach the previous three articles in this series as follows: In order to show case this scenario let’s consider an Item “Product-001-1” added to the List called “Products” as shown below: Now let’s try to delete this item as highlighted below- As soon as user try to delete the item Share Point looks for any registered Event Receiver with the List and looking for its Receiver Definition to see what all event this Receiver is allowed to receive and executes it.
If the item is a document this will compare against the Filename, otherwise it will compare against the Title.
He provides his customers applications based on standard features as well as development or combining the power of several microsoft tools like Dynamics CRM.
In his free time he tries to collect tipps and worthy experience in this blog.
Finally Step 7 is to capture information about the Item and Event and write it back to Windows Event Log.
These few simple scenarios might help you to understand the mechanics and objects exposed by Remote Event Receiver API that can be extended to achieve even more complex business scenarios at hand.