Xrm.Page.ui.formSelector.items.get(formId).navigate( );
I used the form navigation in different scenarios, and It worked fine, however in the current scenario when I call
Xrm.Page.ui.formSelector.items.get(formId).navigate( ); when the form is reloaded I was getting error on page message, I am not sure about what was causing the issue, the patch I applied was setting the setTimeout function and then called the navigate function from it.
I used the form navigation in different scenarios, and It worked fine, however in the current scenario when I call
Xrm.Page.ui.formSelector.items.get(formId).navigate( ); when the form is reloaded I was getting error on page message, I am not sure about what was causing the issue, the patch I applied was setting the setTimeout function and then called the navigate function from it.
Thanks it works.
ReplyDeleteBut there is something unbelievable in this way.
May be we need to check the state of the form.