locked
Dynamics CRM Online, form open or load RRS feed

All replies

  • I use this on tab onchange event.

    function SaveAndRefresh() {
            Xrm.Page.data.refresh(true);
    }

    Friday, February 10, 2017 9:20 AM
  • Hi, Kristian-

    I think I did not make it clear.  Let's say this regards opportunity form.  The first link is when you open and load an opportunity form from CRM menu: Sales -> Opportunities then open an opportunity from the list.  Another link is when you open and load an opportunity from an Advanced Find view.  There is nothing to do with Save and Refresh the opportunity form.  It is just about the refresh of subgrib when the form is loaded.

    Later, I found myself that I can detect the difference between these two links when the same form is loaded, via Xrm.Page.context.getQueryStringParameters();

    I am glad you brought this up again.  I've posted it quite a while.

    Friday, February 10, 2017 2:38 PM