Sharepoint event receiver itemAdding and itemadding not firing when document arrives from web service

Hello,

I have a system that uses content organizer and drop off library with routing rules. Depending of content type the document goes to one final document library.

If i upload document directly in drop off library, the route engine send the document to final document library and the event fire without problems.

When i send a document via sharepoint web service to the drop off library the route engine send the document to final library but the event receiver item adding and item added not fire.

Do you have any ideas to resolve this?

Thanks

Diogo Almeida

July 23rd, 2015 2:25pm

Hi Diogo,

A quick fix I can provide is that, you can create a custom timer job to act as a fake Event Receiver, it will examine the files in the destination library periodically, once there is new file added, execute the code at the backend accordingly.

More information about creating custom timer job:

http://www.codeproject.com/Articles/403323/SharePoint-Create-Custom-Timer-Jobs

Thanks 

Free Windows Admin Tool Kit Click here and download it now
July 24th, 2015 6:01am

Hi Diagoliz,

Try with the ItemAttachmentAdding event.

Regards,

Rajesh

http://sharepointr.blogspot.sg/

July 24th, 2015 1:28pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics