locked
How to refresh the form after it has been saved in mscrm 2013 RRS feed

  • Question

  • Dear ALL;

    i want to reload the from (opportunity product ) when everything is got save on save event of the form

    Monday, February 3, 2014 10:05 AM

Answers

All replies

  • You can try this JS code:

    //window.location.reload(true);

    • Proposed as answer by tiagolvsantos Monday, February 3, 2014 10:07 AM
    • Unproposed as answer by tiagolvsantos Monday, February 3, 2014 10:08 AM
    Monday, February 3, 2014 10:07 AM
  • actually what is happening that on change of product look up on opportunity products i am saving the form in mscrm 2013 but for opportunity product the form form is not getting reloaded by default if i use this code window.location.reload(true) after saving the form it is opening another new record wondow rather refreshing the current one
    Monday, February 3, 2014 10:26 AM
  • Hi,

        This grid is the in-line editable grid which reloads every time a Create / Update / Delete operation is performed. If you have an issue where the grid does not refresh and changes are not reflected immediately, there might be something to do with the form XML. I had a similar issue and it was due to the fact that the system was upgraded from CRM 2011 and form XML had some issue. Still working with Microsoft for resolution.


    Hope this helps.
     
    -----------------------------------------------------------------------
     Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/

     
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Monday, February 3, 2014 10:48 AM
  • In CRM 2013 you can use  Xrm.Page.data.refresh() to reload the form

    Blake Scarlavai - http://mscrmdev.blogspot.com/ - Sonoma Partners - http://www.sonomapartners.com/ - Follow @bscarlav
    CRM 2011 JavaScript Model Generator - CRM 2011 Appender for log4net

    • Marked as answer by anwar_addi Friday, February 21, 2014 2:07 PM
    Monday, February 3, 2014 8:11 PM