Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [remote-event-receiver]

Remote event receivers work similarly to regular event receivers except that remote event receivers handle events that occur when an app for SharePoint is on a different system from its host web application.

0
votes
1answer
28 views

Capabilities we can have inside remote event receivers

I have an on-premises SharePoint 2013 site, and the site has a custom list, and this list has an event receiver linked to it, where the event receiver do the following steps, when a list item is ...
3
votes
1answer
24 views

SharePoint Online Remote Event Receiver and Service Bus issue

I am following this guide to create Remote Event Receivers (RER) in SharePoint Online: https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/ ...
1
vote
1answer
30 views

Installing a Remote Event Receiver on “Site Pages” library using BaseTemplate ID

I need my Remote Event Receiver to install to the "Site Pages" library without referencing the Title/name, but rather use the ID (119) or GUID. I can't use title because the support for multiple ...
1
vote
0answers
28 views

Installing a Remote Event Receiver Add-in - System.IdentityModel.Tokens.SecurityTokenException

I'm working with a Remote Event Receiver Add-in in SharePoint Online and when I try to install the Add-in the breakpoint at the HandleAppInstalled(); fires, but when it tries to use ClientContext to ...
0
votes
1answer
40 views

Workaround on how to update an item that is locked to a specific user

I have an asynchronous remote event receiver that updates a number of fields when ItemAdded fires, it uses the app context for the ClientContext. Everything is working when i upload a file the RER ...
1
vote
1answer
35 views

CSOM - Trying to access “Client_Title” from a page in a list - “The property/Field has not been initialized … ”

I'm trying to access the "Client_Title/Page Title" from a page in Site Pages using Client Context and "listItemId". It seems that I'm not requesting or loading it the correct way. When debugging I ...
1
vote
1answer
74 views

Remote event Receiver only fires in debug mode, not otherwise

There are many articles about how to develop and debug remote event receivers, and after reading many, I have developed my RER, azure website, azure service bus and they are all working well together ...
0
votes
0answers
19 views

Remote Event Receiver Read Email(.eml file) content and attachment

I have one document library name InvoiceEmail that contails .eml files in it. Now I have a requirement that using Remote Event Receiver I have to read To, From and Subject values of the .eml file ...
1
vote
1answer
34 views

On a Remote Event Receiver, how to copy file from one document library to another?

I'm working on a remove event receiver which when triggered by an ItemDeleting event should copy the list item (file) from the original document library to another. Please see a code below for ...
1
vote
1answer
39 views

create remote event receiver without handling app installed

How to deploy a remote event receiver without handling the app installed, I know that this can be done with powershell but I already tried it, the RER is reflecting in the list, but the program itself ...
0
votes
0answers
32 views

How to add remote event receiver using powershell?

How to add event receiver using powershell, I created a remote event receiver that handles the app installed within the solution, now I am trying to deploy that RER to another Document Library, I ...
1
vote
1answer
145 views

access another site collection with client ID and client secret

I am trying to access another site collection with client Id and secret, I want to retrieve a list on another website, currently I tried using this method string siteUrl = "https://xyz.sharepoint.com/...
1
vote
1answer
51 views

Infinite loop for itemupdated event, sharepoint online

What can i do to avoid infinite loop in my itemupdated event receiver, everytime i call the item.Update(); the event fires again, what is the equivalent of EventFiringEnabled to sharepoint online
0
votes
0answers
23 views

How to access another site collection without using credentials? [duplicate]

I created a remote event receiver that updates a list from another site if a document library is updated? I was able to do the function but I hard coded my credentials for the ...
0
votes
1answer
31 views

How to get value of a Column with Remote Event Receiver?

I created an ItemUpdating RER and I want to get the value of a column then transfer it to another column, here is my code public void ProcessOneWayEvent(SPRemoteEventProperties properties) { ...
0
votes
2answers
51 views

How to stop an Item from being deleted with ItemDeleting RER?

I created an Event Receiver that prevents an item if a checkbox is ticked however if I add the condition, the event receiver do not fire public SPRemoteEventResult ProcessEvent(...
0
votes
2answers
55 views

ItemAdding Event not firing

I created an RER that updates a column when an Item is added, but it is not firing. I added an ItemAdded event and it fired public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) ...
1
vote
2answers
79 views

Stop Item from being deleted with Remote Event Receiver in Sharepoint Online

How to stop an Item fom being deleted, it seems that my code is not firing here is a snipped of the RER public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { ...
0
votes
0answers
17 views

How to Check in File in sharepoint DocLib but not by user but from a value in a user column in Library?

I am developing an RER for Sharepoint Online, it checks in a file but I do not want my account to be reflected in the modified by but instead a value from a column inside the doclib. The file.Checkin ...
0
votes
2answers
134 views

How to debug Remote Event Receiver for Sharepoint Online?

How to debug Remote Event Receiver for Sharepoint Online? The only article that I can find is this, https://blog.virtosoftware.com/remote-event-receivers-creating-and-debugging-sharepoint-online/ ...
1
vote
1answer
56 views

How to deploy Remote Event Receiver in all Document Libraries?

I want to deploy an event receiver in all of the Document Libraries in my site, the article that I'm following is that the RER is installed to a specific library only (see reference article). And also ...
0
votes
2answers
24 views

What Event in Event Receiver should I use to catch the file uploading event?

What Event in Event Receiver should I use to catch the item uploading event? Seems that ItemAdding or ItemAdded can not catch the event
0
votes
0answers
23 views

Remote Event Receiver creation for too many lists

There are 2500 event receivers in our SharePoint 2013 farm and we want to migrate that to SharePoint Online. How to write so many apps for those receivers and how to manage load of that much events ...
1
vote
1answer
87 views

Prevent ItemUpdated from firing After ItemAdded Event

On list items, I have ItemAdded and ItemUpdated Remote Event Receivers. What methods are available for RERs to prevent the firing of ItemUpdated after ItemAdded makes a change to the list item? Looks ...
0
votes
1answer
41 views

SharePoint Online document Library ItemAdded event is not firing

I have create a Remote Event Receiver, the code is working when it is deployed to a custom list but when I try to deploy it to a Document Library, ItemAdded is not firing code snippets: public ...
0
votes
2answers
216 views

SPO: when a document is added in library, then create an item in a different list

My senario is like this: when a user uploads a document in a document library in SPO, then a new item is created in another list with some information from the document which was uploaded. On ...
0
votes
1answer
145 views

Remote event receiver not firing (SharePoint Online)

I have downloaded the PnP sample project ECM.AutoTagging and have configured an azure service bus for debugging, have created new client id/token and updated the app manifest/web.config and so on. I ...
2
votes
2answers
406 views

How to make a C# REST Call from provider hosted app in sharepoint online

I have created one provider hosted app for remote event receiver. In that, I want to make a REST call with c#. below is my code but I 'm getting 401 unauthorized, Uri targetWeb = new Uri(...
3
votes
1answer
231 views

SPO Remote Event Receiver is not working properly

We have an Remote Event Receiver which is deployed in Azure and running for an SPO site. It was running fine, but from yesterday, it is not working properly. After a detailed investigation, we ...
0
votes
0answers
29 views

Restrict users to create folder having more than 30 characters length

On creating folders user should not allow entering more than 30 characters limit for SharePoint document library, not a particular library. I tried using Remote Event Listener with Provided Hosted ...
0
votes
0answers
164 views

Remote event receiver does not trigger

I have provider-hosted application which runs in debug mode. I have configured Azure Service Bus Namespace and it handles correctly installation of Add-in (Handle Add-in Installed Event). ...
0
votes
1answer
35 views

SharePoint Remote Event Receivers

I was wondering what is the behavior of synchronous event receivers when multiple items are added at a same time? in the following blog it is mentioned that "synchronous event handlers have a blocking ...
1
vote
0answers
37 views

Does Inheritance Broken Event Fire with Remote Event Receiver?

Does Inheritance Broken Event Fire with Remote Event Receiver? I have tried since Past couple of weeks, with Same logic, Item Added event work with Remote Event Receiver but Inheritance Broken Event ...
4
votes
2answers
90 views

Control folder creation/deletion in SharePoint Online without using permissions

I'm struggling with library/folder permissions and I cant resolve one issue in sharepoint online. I have a library, everybody can read and the owner can create folders. For each folder, the owner ...
1
vote
1answer
193 views

Can I Register and Host multiple Remote Event Receivers using the same Azure Web App URL

I have the following question on how many Azure Web Apps i need to create, for hosting 8 Remote Event Receivers? Where In my case i have 8 Remote Event Receivers, which have been developed as Provider ...
0
votes
0answers
16 views

Adding SubSite inside my RemoteEventRecevier will raise the following error “The URLis invalid. It may contain illegal characters, or be too long.”

I have a site collection inside my SharePoint online tenant with the following url /sites/dev3/. I have the following code inside my Remote Event Receiver, where the RER get fired when items are added ...
1
vote
0answers
71 views

How to handle events in SharePoint document library?

We are writing an application that handles events in document library. Case1: When a new document is uploaded in library, Edit properties dialog opens and user clicks save after entering some ...
3
votes
1answer
89 views

Can item Adding & item Editing operations be canceled inside Remote Event Receivers

I am trying to find the differences between Server-Side event receivers and Remote Event Receivers. now in server-side event receivers i can achieve following scenario:- Check if the user who is ...
1
vote
0answers
40 views

Can I develop a Remote Event Receiver as part of a provider hosted Addin and specify that it will fire on the current and new subsites

I have worked on multiple server side event receivers (ER), and now i am migrating these server side ER to work as remote ER. now inside server-side ER, i use to do the following:- I have a team site ...
3
votes
1answer
51 views

Can i force my Web Hooks to work/Fire on Synchronous events

I was reading this article on MSDN about Remote Event Recievers https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/use-remote-event-receivers-in-sharepoint and they mentioned that ...
2
votes
0answers
63 views

Can I host my remote event receiver inside a trial Azure account for demo and testing purposes

I want to do a demo for one of our clients about SharePoint online. now our customer already have a free basic office 365 with one admin user. so I have created some site collections with lists and ...
2
votes
1answer
157 views

Unable to get my first Remote Event Receiver working inside Office 365, as it is not being fired

I want to develop my first sharepoint add-in for implementing a remote event receiver. so i did these steps, without any success in forcing the RER to fire:- I have office 365 + Visual Studio 2015 ...
3
votes
2answers
371 views

Unable to run my remote event receiver “Could not load file or assembly 'Microsoft.SharePoint.Client.Runtime, Version=15.0.0.0, Culture=neutral”

I have an office 365 farm + visual studio 2015 professional. now i want to create a new remote event receiver, so i did the following steps:- I create a new project of type "SharePoint Add-in":- ...
2
votes
1answer
101 views

Running a remote event receivers in elevated privileges

I am currently migrating our server side event receivers to be remote event receivers. Now, one thing I can not find a way of doing it is how I can run part of my remote event receiver code in ...
1
vote
1answer
132 views

Associating an existing list with a new Remote Event Receiver

I have developed many server side remote event receivers, but I am new to remote event receivers’ world. Now based on my reading and some tutorials, I find that there are 2 main approaches to create ...
3
votes
1answer
73 views

Where we should host remote event recievers? can they be hosted on any server exposed to the internet over it should be inside Azure?

I am in the process of migrating our SharePoint 2013 on-premises to Office 365. Now inside our SharePoint on-premises 2013 I have 7 event receivers which get fired when items are (created, creating, ...
2
votes
1answer
99 views

How to disable and enable itemupdated event office 365 CSOM (RER)

How to disable/enable ItemUpdated event in remote event receiver in Office 365 using C# CSOM.
2
votes
1answer
191 views

Office 365 document library remote event receiver issue

ItemAdded event issue: Whenever we upload Office documents (Excel, Word and PowerPoint), the first time, it hits and works fine. If we upload the same document and replace, then the event is not ...
1
vote
1answer
51 views

How to get file name on itemAdded event office 365

I am trying get file name after uploading, I am not able to get any properties. Below is the code i am using. string name=""; if(properties.ItemEventProperties.AfterProperties.ContainsKey("...
3
votes
1answer
207 views

Office 365 document Library ItemAdded event is not firing

Event is attached to document library, but it is not firing when I upload document. Below is the Element.xml file. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="## Heading ##http://...