locked
refresh control on parent form in crm 2011 (JScript) RRS feed

  • Question

  • hi,

    when I save Task activity(opened from Opportunity form) I update an attribute (by soap) of Opportunity entity, but value in the field doesn't change.
    How can i refresh this control ?

    sorry for my english;)

    Thursday, January 2, 2014 3:51 PM

All replies

  • Try one of these JavaScript code from Task form JavaScript after you update Opportunity entity.

    window.top.opener.location.reload();
    window.parent.opener.document.location.reload(true);

    Thursday, January 2, 2014 4:09 PM
  • Yes, this is works but only for the Opportunity -> Common -> Activities IFRAME
    Thursday, January 2, 2014 4:16 PM