SharePoint 2013 Updating Column using Event Receiver is working intermittent

i have a scenario where i need to update the List Column using Event Recievers, but its not working every time i deploy my solution Once i try to add new column above my actual column update it works again... is this know issue??? please let me know what is the correct approach

if (LibraryCreated == true && fdcStatus == StatusApproved)
                        {

                      
                          
                            result.ChangedItemProperties.Add(_fdcComments, fdcComments+"");
                            result.ChangedItemProperties.Add("fdcStatus", "Completed");//TEST
                           
                            result.Status = SPRemoteEventServiceStatus.Continue;
                            return result;




                        }
                        if (LibraryCreated == false && fdcStatus == StatusApproved)
                        {
                           
                            result.ChangedItemProperties.Add(_fdcComments, fdcComments+"");
                            result.ChangedItemProperties.Add("fdcStatus", "Error");//TEST
                          
                            result.Status = SPRemoteEventServiceStatus.Continue;
                            return result;
                        }

August 24th, 2015 7:53am

Hi,

According to your description, my understanding is that the remote event receiver not fire sometime.

For a better troubleshooting, I suggest you can try to debug to see if the update code has been executed correctly.

Here are some detailed articles for your reference:

Debugging Remote Event Receivers with Visual Studio

Debug and troubleshoot a remote event receiver in a SharePoint Add-in

Thanks

Best Regards

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 12:10am

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

Other recent topics Other recent topics