‘Back’ and ‘Save and close’ buttons are not working

Problem: Form navigation within multiple forms ‘Back’ and ‘Save and Close’ buttons stopped working.

Resolution

function Loadform(formId) {
 if (!Xrm.Page.ui.formSelector.getCurrentItem) { return; }
 var currentForm = Xrm.Page.ui.formSelector.getCurrentItem();
 if (currentForm && currentForm.getId() === formId) { return; }

 Xrm.Page.ui.formSelector.items.forEach(function (form) {
     if (form.getId() === formId)
         form.navigate(); });
 }

Hope it help!

Thank you!