CRM makes you re-learn your tricks of the game with each version. I had written this workaround for refreshing CRM 2013 form when the trick we guys used to use stopped working for CRM 2011:
This time I was suggesting this workaround for CRM 2015 and It would just not work for Save.
We ended up in a loop of refreshes for the form:
Well, no worries here is CRM 2015/2016 compatible solution:
· Add Modified on to your form
· Add following on change function to Modified on field on the form.
//Needed to set form dirty to false explicitly as it is not done by platform
var Id = Xrm.Page.data.entity.getId();
Note: This has to be only triggered for existing form types, This will not work on Create mode.
This will solve your problem and save the day for you. Hope it helps and Happy CRMing!
Follow me on social channels:
Google Play Store:https://play.google.com/store/apps/detailsid=com.dynamicsofdynamicscrm.msdynamicsblog&hl=en