locked
Retrieve Pluin firing Multiple times in CRM 2013 RRS feed

  • Question

  • Hi All

    1).  i have registered post Retrieve plugin on Case , Contact , PhoneCall . Whenever i am opening the record or refresh the Page , plugin is firing multiple times . Context.Depth is "1" every time . Initiatin userid and Userid both are the loggedin user .

    please suggest some workaround to restrict this execution only once .

    2). If plugin is getting fired through rest or soap  javascript call then i am getting context.depth as "2"  .

    Will it always be 2 ???  

    IS (context.depth>1) is correct way to check if plugin getting fired from javascript ?????

    Thanks in Advance


    Zafar Khan

    Sunday, August 17, 2014 6:02 AM