Brief post here, Assuming, in the ribbon, I have successCallback function that will refresh the form.
Then, in the form onLoad I have script to show Form Notification.
Now, I want to research the difference of those function usages.
Now, In the Submit Button SuccessCallback() I have specified one is using .refresh() and another one is using the .openEntityForm()
It is just refreshing the Form like a modal popup async and it is fast!
But..It does not trigger my notification onLoad(), it did not reload the whole form.
Now, the second research:
Well, it is really refreshing and reloading your form, like you were opening a new window of entity record.
And here is the result after it comes back.
*My Notification which i put in the formLoad is appearing, different from the first function result I used before.
Hope this can make you clear which function you’d like to use!
As I know, both are also refreshing the ribbon without additional ribbon refresh function based on my research.
Thanks!
Then, in the form onLoad I have script to show Form Notification.
Now, I want to research the difference of those function usages.
Now, In the Submit Button SuccessCallback() I have specified one is using .refresh() and another one is using the .openEntityForm()
Xrm.Page.data.refresh()
What happened after I put it in the code?It is just refreshing the Form like a modal popup async and it is fast!
But..It does not trigger my notification onLoad(), it did not reload the whole form.
Now, the second research:
Xrm.Utility.openEntityForm()
Well, it is really refreshing and reloading your form, like you were opening a new window of entity record.
And here is the result after it comes back.
*My Notification which i put in the formLoad is appearing, different from the first function result I used before.
Hope this can make you clear which function you’d like to use!
As I know, both are also refreshing the ribbon without additional ribbon refresh function based on my research.
Thanks!