Questions tagged [event-receiver]
140 questions
1
vote
1 answer
How to automatically update properties after the file is generated by word automation service?
I used Open XML + Word Automation to generate a word file from template and convert it to pdf. Now both word documents and generated PDFs are in the same document library. The word documents has some properties, which is added when they are…

Aoma
- 11
- 2
1
vote
3 answers
How to pass a value to SharePoint list event receiver?
I have a SharePoint site page with a document library web part on it, once a document is uploaded to this library, some of the library fields need to be updated according to a parameter of the page url.
I tried doing this with Event Receiver binding…

S.831
- 113
- 1
- 10
1
vote
1 answer
EventReceiver not Firing on SharePoint List
I am trying to create an EventReceiver for a blog site (for the Posts list) and am having some trouble getting it working. I want to change the Created By column to Anonymous. Basically I have this whole thing working in a console application,…

Tudor Hofnar
- 267
- 2
- 9
- 20
1
vote
0 answers
How to disable file system access (by UNC) to the document library in SharePoint 2010?
I created the document library in SharePoint 2010.
I can access the document library through UNC path like \server\sitecollection\path, e.g. \domain.com\applications\libraryName
Is there any way disable file system access (by UNC) to the document…

Domino
- 11
- 4
1
vote
3 answers
How can I debug a SharePoint EventReceiver with Remote Debugger?
I have written an SharePoint EventReceiver (Windows SharePoint Services 3.0) and want to debug it with Visual Studio 2008 SP1, which runs on a different computer. I have tried the following steps:
Installing the event receiver (I know that this…

Oliver Hanappi
- 12,046
- 7
- 51
- 68
0
votes
1 answer
SharePoint Content Type Event Receivers Impossible to Remove
I have a very odd situation in my SharePoint staging environment. We recently stood up a new SharePoint 2010 server (single WFE + a DB server), and attached a backed-up content database from our existing environment. We created a new web…

JasonV
- 223
- 1
- 8
0
votes
2 answers
How to programmatically move (archive) a document from document library of a site collection to another site collection
I have to programmatically move (archive) a document from document library of a site collection to a document library of another site collection in SharePoint 2010, when a specific value is set for a column in the doc lib.
Would it be possible to…

Nidhi
- 33
- 1
- 5
0
votes
1 answer
Update Files in Sharepoint Document Library
Simply put, I have a custom editForm.aspx in a document library, that uses my own custom dll.
When a user edits a record, I can update all the properties associated with the file, however, when you update the actual document(ie replace it) and then…

Paul Lawrence
- 197
- 3
- 14
0
votes
6 answers
SharePoint 2010 event handler
I am having a nightmare trying to debug the event receiver of a Sharepoint list.
This is the code of what I am doing:
//Add an event receiver to the list
list.EventReceivers.Add(SPEventReceiverType.ItemAdded, "DatasEvent, Version = 1.0.0.0, Culture…

Mariela
- 15
- 5
0
votes
0 answers
Create sub-folders
How do I automatically create sub folders when I create a new folder? In SharePoint designer 2010.
I was trying workflow, event receiver but that does not work.
0
votes
0 answers
SharePoint Online Remote Event Receiver - Override File event
I'm trying to implement a remote event receiver for SharePoint Online.
This RER should be used to intercept the override action of a document in a document library and avoid that possible metadata already in the document that i'm uploadnig are…
0
votes
0 answers
SP Online: Remote Event Azure function don't fire on each list
i created a function app containing a function.
This function is used as remote event.
I linked this event to a list on a specific site "site1" like this:
$functionUrl= 'https://appName.azurewebsites.net/api/FunctionName'
Add-PnPEventReceiver -List…

Hill
- 1
0
votes
2 answers
How do I create an event receiver for a single list that is based on a custom content type?
I am trying to create an event receiver for a list I have created called Questions.
When a new question is added I want an event to fire. I have looked into it so I know I need to create an event receiver and make use of the ItemAdded method.
How do…

Andrew
- 9,967
- 10
- 64
- 103
0
votes
1 answer
How does one read data from a BLE device in Android?
My mobile phone app is supposed to be the central device and the BLE kit is supposed to be the peripheral device. I have managed to write to Kit, as in send data. The kit itself according to it documentation has this:
According to the…

Mohamed El Kayal
- 179
- 12
0
votes
0 answers
How to prevent application from sharing images to itself?
Problem:
I'm seeing my own app in the device's app chooser when sharing an image from within my app.
I'm working on a photo app that will allow users to share their edited images using an Intent.ACTION_SEND with the device's application chooser by…

kralvarado
- 458
- 5
- 13