Hi, I am using D365 and I want to add two tab pages to a report dialog using UI builder class.
In one dynamics community post related to AX2012, it is suggested that we need to call this.dialog().addTabPage("Tab page caption") after super() in the build() method.
when I try the above mentioned approach, at the time of running the report it is throwing me the following error
"Unable to cast object of type 'Dynamics.AX.Application.FormBuildTabPageControl' to type 'Dynamics.AX.Application.FormBuildGroupControl'".
Further when I write "this.dialog()." and stop there to see the list of methods, "addTabPage" is not there.
can anyone please tell how to achieve this. Am I doing anything wrong or did anything change in D365?
Thanks in advance