1
vote
2answers
92 views

Is it possible to, using an event receiver, change a filename before it is uploaded?

I was using a workflow to change file names to some text and the SP ID, but this has caused issues because the workflows can often take several minutes to complete. I would like to do this during ...
0
votes
2answers
63 views

Sandbox Event Receiver Not Working on SharePoint Online

I build an SharePoint 2013 Sandbox Event Receiver which works in my local on-prem dev environment. However, when pushing it up to my SharePoint Online tenant it does not work nor even fire at all. I ...
0
votes
0answers
92 views

Event Receiver causing error on subsite

I have a document library on a site called "Guidelines" on all the subsites are document libraries also called "Guidelines" and on their subsites are more libraries called "Guidelines". All these ...
1
vote
1answer
272 views

Event Receivers not working on Sharepoint Online

I have a sandbox solution. It has an event receiver. The event is triggered when a workflow is started. It works in our dev environment. However, when the solution is deployed to Sharepoint Online, ...
1
vote
1answer
99 views

Adding EventRecevier in SandBox Sharepoint2010

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
2
votes
2answers
442 views

Can the ItemAdding event be used in a Sandbox?

Can the ItemAdding event be used in a Sandbox? I need to perform a task when a Item is a added/adding, it has to be synchronous (item added is async so i cant use that). If i cant use the ...
0
votes
1answer
601 views

Error while creating Event Receiver

This is Sample of my Code SPList list = new SPSite(siteURL).OpenWeb().Lists[listName]; SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers; SPEventReceiverDefinition ...
0
votes
2answers
2k views

ItemAdding event not firing when submitting InfoPath form to form library

I created an event receiver in Visual Studio to handle three events in a form library: ItemAdding, ItemUpdating, and ItemDeleting. ItemUpdating and ItemDeleting work as expected when debugging, but ...
2
votes
1answer
946 views

Add choice to SPFieldChoice from an Eventreceiver in sandboxed

I am trying to make a sandboxed solution that adds a couple of itemeventreceivers to a list, that add the items to the choices of a choicefield. The result would be something like a lookup field, ...