JSOM clientContext.executeQueryAsync behaviour for a scenario. RRS feed

  • Question

  • Code written in jsom to add list items in batch process programmatically, fetched from excel sheet,after executing clientContext.executeQueryAsync first goes to success delegate method and after that it goes to failure delegate function.

    I found the reason of failure to be one of the field values that was exceeding limitation of single line text.

    Can anybody suggest why first the call went to success function first and than to failure after executing clientContext.executeQueryAsync whereas the call should directly be hitting the failure function?

    • Edited by MrigangoDeb Friday, August 28, 2020 12:10 AM
    Thursday, August 27, 2020 11:59 PM