BAQDataview Refresh Issue (Kinetic 2021.1.18)

Hey Fellows,

Did anyone of you run into an issue with refreshing the BAQDataview in the Kinetic2021.1.18 version? I have uplifted customization from the 10.2.700 version to Kinetic and the Reflection code to refresh the BAQDataview menu is throwing the error message. I have inspected the MethodInfo variable in VS and it is returning Null.
Here is the code:

private void RefreshBAQDataView(BAQDataView iBaqView)
{
  MethodInfo mi = iBaqView.GetType().GetMethod("invokeExecute", BindingFlags.Instance | BindingFlags.NonPublic);
  mi.Invoke(iBaqView, new object[]{ true });
}

Please let me know if you have found a fix.

@josecgomez any thoughts?

Change it to a Capital I “InvokeExecute”

2 Likes

:sleepy: need another coffee. Tried everything except this :grimacing:

Many thanks, mate. Changing it to “InvokeExecute” did the trick.