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.
205
questions
10
votes
10
answers
8k
views
Remote Event Receiver on updated will be fired multiple time
If someone ever had a similar experience, i'm trying to update word document in the document library and the problem is that my ItemUpdated is triggered multiple times.
I think that last clientContext....
10
votes
2
answers
199
views
Can i use workflow 2013 to update the friendly URL term to match the updated wiki page name
I usually work with sharepoint on-premises 2013, and when i work with enterprise wiki site collection, i write the following server side event receiver, which mainly update the friendly URL term to ...
8
votes
2
answers
3k
views
Debugging remote event receiver - no context token
I am trying to use the MS supplied BasicDataOperations provider hosted app to play around with and learn about remote event receivers.
I was following the instructions from this blog post by Chris O'...
6
votes
3
answers
3k
views
When to use Server side event receivers Versus using Remote event receivers?
I read a long article about two types of event receivers inside SharePoint server 2013:-
Server side event receivers (available inside SP 2013 & SP 2010)
Remote event receivers(available inside ...
6
votes
2
answers
615
views
Migrating our SharePoint 2013 on-premises farm to an Office 365
I have worked on many SharePoint 2013 & SharePoint 2016 on-premises farms. and currently one of our customer who uses SP 2013 on-premises, want to migrate SharePoint to Office 365 (SP online). now ...
5
votes
3
answers
301
views
Is it totally wrong or should be avoided to create farm solutions inside sharepoint 2013 on-premise
I started a new sharepoint 2013 enterprise server on-premise project for a customer, and on the first phase I want to do the following which requires me to create 2 farm solutions:-
I need to add ...
5
votes
3
answers
346
views
SharePoint 2013 Remote Event Recievers - How Reliable?
It is business critical for us that Remote Event Receivers DO fire, however Microsoft do not guarantee they will (Confirmed to us by Microsoft after raising this issue on a support ticket).
What we ...
4
votes
1
answer
519
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 ...
4
votes
3
answers
2k
views
Remote Event receiver ItemAdded and ItemUpdated issue
I have added itemUpdated functionality to my receiver but i notice that it overide my itemAdded function. whenever i add a new item, my RER is not triggered. But on editing RER is triggered.
...
4
votes
1
answer
681
views
How to implement Remote event receiver in sharepoint online?
How to implement Remote event receiver in SharePoint online using provider hosted app and how to configure service bus for debugging remote event receiver in provider hosted app?
4
votes
2
answers
558
views
How to restrict user upload file to type PDF only
i am using SharePoint online and was wondering how to allow user to only upload PDF file,IF there any out of the box solution would be great.
4
votes
1
answer
3k
views
Get before properties in ItemUpdated event via CSOM in a RER
Can I get the before properties in item updated?
I need to check if a field changed its value, between the previous and the new value in a RER with CSOM.
The following code tell me the ...
4
votes
2
answers
594
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 ...
4
votes
1
answer
274
views
What happens if a SP2013 remote event receiver fails to connect to the target service?
I have a Remote Event Receiver configured to notify a Web Service whenever a new list item is added (ItemAdded). This is working properly.
That said, it's imperative that each time a new list item ...
4
votes
0
answers
626
views
Remote Event Receivers not firing in case of Service to Service authentication scenario using Azure AD
I have created a SharePoint app(Add in) with a RemoteEventReceiver subscribed to Item Added Event on a custom list. After installing app in office 365 I can log into portal and add item to list and it ...
3
votes
2
answers
5k
views
Remove permission on a folder by csom
My scenario is i have 2 lists: company and domestic
whenever i create a new company a remote event receiver fires and create a folder in domestic.now when am trying to update an item in company,i ...
3
votes
1
answer
501
views
Remote Event receiver using provider hosted app
Getting error on deploy Remote event receiver using provider hosted app solution in SharePoint online.
Cannot register Services/RemoteEventReceiver1.svc on Microsoft Azure Service Bus: The remote ...
3
votes
1
answer
486
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/
...
3
votes
2
answers
924
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
1
answer
196
views
Remote Event Receiver in Hostweb
I have a Farm Solution that management is pushing to be ported to the App Model. This Farm solution has a Custom Action which, when configured, dynamically attaches a ListItem Event Receiver to the ...
3
votes
2
answers
3k
views
"Specified Method Not Supported" Linq Query to return Event Receivers
I am developing remote event receiver to a SharePoint Online tenant and noticed that with each deployment a new Event Receiver is added to the web. So on the app installed event I want to find all ...
3
votes
1
answer
275
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, ...
3
votes
1
answer
111
views
Reference/Update the current item inside ItemAdded/ing and ItemUpdated/ing remote event receivers, is it available inside the SPRemoteEventProperties
I am working on remote event receivers, and let say I want to update a field named ProjectID inside my ItemAdded, currently, I am executing a CAML query to get the current item >> update the ProjectID,...
3
votes
1
answer
145
views
How we can create and debug a remote event receiver and attach it to existing list
I have a custom list inside our SharePoint online and it contain many items.
Now I want to add some business logic to the list through implementing a remote event receiver which get fired when items ...
3
votes
1
answer
132
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 ...
3
votes
1
answer
2k
views
Cannot Cancel ItemAdding Silently in Remote Event Receiver
I want the following code to prevent adding any file to a library and silently continue with no error. However when an item is adding and I cancel the result with the CancelNoError flag SharePoint ...
3
votes
3
answers
2k
views
Is it possible to attach a Remote Event Receiver to my lists
Is it possible to attach a Remote Event Receiver to my existing list in my site, and not to the list in my app? I'm guessing no as I can't find anything on this, and I think this would potentially '...
3
votes
1
answer
311
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 ...
3
votes
1
answer
456
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://...
3
votes
0
answers
262
views
how to deploy a remote event receiver to azure
I created my first event receiver using this link
but now i need to deploy the the final version of the app.
I think i need to create a web app on azure and publish the web project
How do i ...
3
votes
1
answer
548
views
SharePoint Online remove Remote Event Receivers from subwebs
I am trying to develop an add-in for SharePoint Online that ensures all document libraries created get my company's base content type and the standard document content type gets removed.
I have the ...
3
votes
0
answers
401
views
deploy remote event receiver with Azure IIS
I am trying to use Remote Event Receiver with a SharePoint Custom List and it is not deploying. When I debug with Visual Studio, it works. When I deploy it as an app, it fails deploying with the ...
3
votes
1
answer
541
views
SharePoint Remote Event Receiver not working
Platform: Sharepoint on-premise
Requirement: To connect Remote Event Receiver to an existing list in the Host Web
Problem: Error in deploying Remote Event Receiver
Details:
Created a new Provider ...
3
votes
0
answers
540
views
Remote event receiver IIS website Anonymous access
For On-premise environment high-trust app -
We are creating a remote event receiver and handling the "App Installed" and "App uninstalling" events. When we try to install the app it fails with the ...
2
votes
1
answer
2k
views
Do event receivers fire when list items are added or updated using REST or CSOM
I want to know if an event reciever fires when a list item is added or updated using REST or CSOM.
Can anyone help me with this and give me a correct direction and an example so that I can get my ...
2
votes
1
answer
4k
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/...
2
votes
1
answer
98
views
Is it possible to attach existing remote event reciver to newly added document library?
I am aware that I can attach remote event receiver in SharePoint Online existing document libraries using the AppInstalled event SP Add-in.
But, I would like to know the possibilities that when I ...
2
votes
1
answer
628
views
Can I use a remote event receiver on a non-app custom list in SharePoint Online?
Is it possible to associate/register a remote (provider-hosted) event receiver with a custom list that is not part of a provider-hosted app (e.g. the list is on a site, but is not within an app)?
If ...
2
votes
1
answer
545
views
SPO Event Receiver is not firing
Recently I am not able to create (remote) event receivers in my SPO environment(s).
Create new site
Create new list
Add event receiver using PnP.PowerShell
Add-PnPEventReceiver -List "test"...
2
votes
1
answer
2k
views
Remote Events -- ItemEventProperties.BeforeProperties is always empty?
I am playing around with Provider Hosted Apps and Remote Event Receivers to see how everything works. I have a Provider Hosted App set up with the SharePoint component in SharePoint Online, and the ...
2
votes
2
answers
2k
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
1
answer
309
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 ...
2
votes
1
answer
300
views
Provision/Upload file from sharepoint 2013 App to host web
I have a module in my app named IframeListener. Under this module I have a .js file.
Now I want to upload this file to a library of my host web. My event receiver code goes below:
private void ...
2
votes
1
answer
1k
views
SharePoint Online Event Receiver not always firing?
Hello,
I have an event receiver set up on a list in SharePoint online. I have a provider-hosted SharePoint Add-In running in Azure, which hosts a remote event receiver service that is called when an ...
2
votes
1
answer
2k
views
Can't delete remote event receiver using custom code
I created an app for SharePoint Online that attach a ListAddedEvent to a site, and brake permissions on a specific folder, when a document library is created.
the code:
using System;
using System....
2
votes
1
answer
478
views
SharePoint provider hosted App Remote Event Receiver Not Triggring For List item adding event in O365
I am creating a SharePoint provider-hosted App with event receivers to simply update an item in a SharePoint list List1 when adding new item in the list.
My App installation event is firing, but no ...
2
votes
1
answer
8k
views
The type '*', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element could not be found
I have created my provider hosted app and successfully debugged it locally and it works perfect, its ready for the test environment
But when I deploy it to Azure I have this error in the Web service:
...
2
votes
1
answer
2k
views
Project server Remote Event Handler
So I've added a .svc file that implements IProjectEventReceiverRemote to my provider/auto hosted SharePoint app. And I've registered this following this example http://www.ro.umt.com/blog/2013/08/01/...
2
votes
0
answers
150
views
I am no longer able to debug/run my SharePoint Remote Event Receiver locally using Ngrok
Last month the below steps were working well for me to debug and test a SharePoint online remote event receiver locally:-
Open Ngrok.exe >> run the following command inside ngrok:-
ngrok ...
2
votes
1
answer
127
views
Remote Event Receiver not always executed, yet always received
We have a SPO site with remote event receivers configured.
About 80% of all events (in this case: ItemAdded) are executed just fine.
About 20% isn't processed. Usually, we can debug the process, but ...