Disable item updated event firing during item updated in remote event receivers in Sharepoint 2013 RRS feed

  • Question

  • Hi

    I have a requirement in sharepoint 2013,that when a document upload on the document libray a updated event fire with Remote Event Receviers and same time also update document library's 'Status' field but problem is that event is fire and everthing is fine but once document library 'Status' field updated again updatedItem event is fire and this is stuck in infinit loop.

    I have no idea how to use disableEventfiring in Remote Event receviers.

    Please help me ,how to short out this.

    Thanks in advance


    Sanjeev Tiwari

    • Edited by Sanjeev Tiwari Wednesday, January 29, 2014 5:37 AM make clear
    Wednesday, January 29, 2014 4:52 AM


  • Hi Sanjeev,

    Here is an alternative way to avoid this, before you update the "Status" field, please check if the current "Status" value is equal to the upcoming to avoid the update operation recurrence.

    Qiao Wei
    TechNet Community Support

    • Marked as answer by Dennis Guo Friday, February 7, 2014 8:39 AM
    Thursday, January 30, 2014 1:20 PM