locked
CRM 2011 On Change Event not Fire? RRS feed

  • Question

  • A Javascritp is runnig on entity field Change it is fire ok within CRM

    but when from is created form web using .net code webservice this event not fire.while at CRM it is on change event fire

    how i fire event on change. if it is created via web

    Note:field(Documents Received) is tow option data type.


    Muhammad Sohail


    • Edited by sohail450 Wednesday, October 15, 2014 3:40 PM
    Wednesday, October 15, 2014 1:58 PM

Answers

  • Can Plugin fire on change of field??


    Muhammad Sohail

    • Marked as answer by sohail450 Thursday, October 16, 2014 1:48 PM
    Wednesday, October 15, 2014 3:41 PM

All replies

  • HI Sohail,

    You mean when you create record( Not form) from .net

    The JavaScript event requires user to open the form and perform the action. It can't fire from background operations. It requires user interaction to the form.

    If you want even to fire you can develop plugin or workflow that will fire on change of the field.

    Thanks!

    • Proposed as answer by Guido PreiteMVP Wednesday, October 15, 2014 4:02 PM
    Wednesday, October 15, 2014 3:31 PM
  • Can Plugin fire on change of field??


    Muhammad Sohail

    • Marked as answer by sohail450 Thursday, October 16, 2014 1:48 PM
    Wednesday, October 15, 2014 3:41 PM
  • Hi,

    Yes, both plugin and Workflow can fire on update of field.

    Thanks!

    • Proposed as answer by Guido PreiteMVP Wednesday, October 15, 2014 4:02 PM
    Wednesday, October 15, 2014 3:51 PM