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.

Filter by
Sorted by
Tagged with
0
votes
2answers
19 views

How to get deleted file when itemDeleted event fire in remote event receiver

How to get the deleted file when itemDeleted event fire in remote event receiver in SharePoint Online. I have tried as follows but this does not work: List photos = clientContext.Web.Lists.GetById(...
1
vote
1answer
14 views

How can I remotely delete a file in document library in sharepoint online using remote event receiver?

I want to remotely delete a file within a document library. How can I do this?
0
votes
2answers
20 views

Remote event receiver: get event new file added to documents

I want to fire the event receiver when new file is uploaded to the document library in site in SharePoint online. Is ItemAdded event fire when file is uploaded to the documents?
1
vote
1answer
27 views

Access Root Site List from Sub site using Remote Event Receiver in SharePoint Online

I am trying to access the Root site list using the sub site client context. But when I try to execute the clientcontext it gives Access Denied error. I tried to create new clientcontext by passing ...
3
votes
1answer
90 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 ...
2
votes
1answer
18 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 ...
0
votes
0answers
16 views

Service Bus to debug remote event receivers, is it still a valid appraoch? If not what are the alternatives

Around 2 years ago I developed and implemented many remote event receivers by following the approach mentioned in this link https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-...
0
votes
0answers
11 views

Clientcontext is always null in azure hosted Provider hosted app

I am working on provider hosted app to be hosted on azure. I need to create remote event recevier, I am using https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-...
0
votes
0answers
18 views

Inovke Secured Web API from remote event receiver

I have a Remote Event Receiver developed/deployed for SharePoint online using hosted-addin. This add-in can be deployed in different sharepoint online enviroments. When item added event gets triggered ...
0
votes
0answers
25 views

There was no endpoint listening - Remote Event Receiver, On premise provider hosted app

I created an remote event receiver to fire when app is installed on premise provider hosted app. I cannot use azure. While running on doing F5 the solution i get below exception: Installation is in ...
0
votes
0answers
12 views

Unable Debug “attaching-remote-event-receivers-to-lists-in-the-host-web” using azure service bus

I use to follow the following approach to create remote event receivers and debug them using azure service bus https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-...
0
votes
0answers
19 views

SharePoint Online remote event receiver - get binary of large file >5MB

I'm trying to open binary stream of a file when file is uploaded into document library by using Remote Event Receivers. It was able to work with small files (< 5MB), but does not work with file > ...
0
votes
0answers
96 views

Debug remote event receiver:- “Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException..localhost is not the intended audience”

I want to debug our remote event receiver for a sharepoint online site collection. and since the azure service bus appraoch for debugging RER is not supported anymore. so i am trying to use the ngrok ...
0
votes
0answers
68 views

Remote Event receiver error “There was no endpoint listening at https://localhost:44332/Services/AppEventReceiver.svc that could accept the message”

I am developing a new remote event receiver, where i followed these steps:- 1- Inside visual studio 2015 >> create new sharepoint add-in >> provider-hosted Add-in >> i enter the url for a test ...
0
votes
1answer
80 views

Unable to debug our Remote Event Receiver using Azure service bus. “One or more services were unregistered from the Microsoft Azure Service Bus. ”

I am developing a remote event receiver for our site collection. so inside Visual Studio 2015, i did the following:- i created a new sharepoint add-in of type provider hosted app. I added the code as ...
0
votes
0answers
14 views

Register SharePoint Add-ins, Does it need to be done seperately on each site collection?

I want to attach a remote event receiver to a custom list, so i am planning to follow these steps Attaching Remote Event Receivers to Lists in the Host Web. then i will need to register the remote ...
0
votes
0answers
17 views

How to check if a Wiki Page exists inside “Pages” library inside our remote event receiver

When working with server-side event receivers, I use the below code to check if a wiki page exists inside our "Pages" library or not, using GetFile() + SPFile.Exists:- DataTable currentTempletePages =...
0
votes
1answer
23 views

Create a publishing wiki page inside our remote event receiver

Inside our sharepoint 2013 on-premises, i have the following code inside our server side item-added event receiver:- public override void ItemAdded(SPItemEventProperties properties) { base....
1
vote
0answers
23 views

Pricing tiers for creating a “Service Bus” that will be used as an end point while developing remote event receivers

I want to create some remote event receivers for our sharepoint online sites, and to be able to debug/test the code i need to create a service bus inside Azure, to be used as an endpoint for our ...
0
votes
0answers
12 views

Remote event receiver firing on changing List name

I have list A that has in it records leading to other lists, they are being added there upon activating given feature on list. Is there a way to fire remote event receiver in a situation when user ...
1
vote
1answer
37 views

Console application that runs periodically instead of remote event receiver

I have an enterprise wiki site collection inside our sharepoint on-premises 2013. and the enterprise wiki contain a server side remote event receiver which do the following:- when a list item is ...
0
votes
1answer
29 views

How to create Remote Event Receiver for List Added event?

I want to attach Item Added remote event receiver to every new list created by user so I want to create remote event receiver for List Added event. Please help.
1
vote
1answer
23 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 ...
0
votes
1answer
35 views

debugging remote event receiver using service bus not working

My scenario is i had a working application that i was able to debug perfectly some month back using service bus but is not working anymore. I don't have any errors and none of my breakpoints are ...
1
vote
0answers
40 views

Remote Event Receiver on ItemAdding triggered but not updating folder columns

I have a remote event receiver attached to a Document Library. The er is attached to ItemAdding and ItemUpdating. The same code runs on both events to update values in several columns based on the URL ...
1
vote
0answers
31 views

SharePoint Online. Modify file content with Remote Event Receiver

I have to check the content of an Excel file uploaded to SharePoint and if the columns don't follow an order, switch them to have the order needed. I've thought to make an Remote Event Receiver and ...
0
votes
1answer
39 views

Is it possible to get the parent folder data in item-adding in remote event receiver

Question is it possible to get the parent folder data eg(Title, Custom Columns)? What I want to achieve is when an user add an item i could pre-populate columns with data i want. I've manage to ...
0
votes
1answer
39 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
162 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
39 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
59 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
58 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
117 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
90 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
41 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
70 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
84 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 ...
1
vote
1answer
842 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
128 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
1answer
55 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
94 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
81 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
211 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
1answer
579 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
188 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 Steps to create an event reciever....
0
votes
2answers
36 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
1
vote
1answer
139 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
2answers
113 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
584 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
2answers
324 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 ...