Hi,
I have some problems with notifications. I call some custom action from JS, in .NET I pass ERROR communicate, that must be displayed in new opened form. When I get 200 response, then I display my ERROR on current form (notification bar), then store it in actual form's parameter and call function .Xrm.Utility.openEntityForm(entity, id, ERRORparameter). Called function is opening my entity in new form. In javaScript OnLoad function, I read the error from form's parameter and display it on notificiation bar.
Everything perfect so far.. :)
Problem begins, when user try to refresh the form (f5), error still appears. They are stored in querystring (context.getQueryStringParameters() is the way I read them) and onLoad I read them. Question, how to clean up parameters from form?
Maybe someone knows better way, how to open new form and pass some information in other way than form's parameter?
*This post is locked for comments