Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Save conflict error in remote event reciever (item added event)

$
0
0

Hi,

I registered one remote event receiver on a document library of host web. On item added event [if (properties.EventType == SPRemoteEventType.ItemAdded)] I have changed one property of the item. When we click on save button on edit form, it gives a conflict error saying the file has been modified by...some id...

Any suggestion please to avoid this conflict.

I am doing following things in Item Added event:

1. Check if uploaded file is PDF

2. if its PDF, converting it into PNG (using third party library)

3. saving the PNG file to a different Document library

4. updating the item property (URL Column) in first document library with the URL of saved PNG file.

Thanks,

Ashish H 


Viewing all articles
Browse latest Browse all 8089

Trending Articles