I am using AX 2012. I have develop enough reports with Data Provider class. But new bee with controller class.
I need to use the controller class to show the multiple design of the report depending on the condition. Now I have develop controller class and all my logic in it.
I am thinking how Data Provider class will come to know the that this is my controller class. Like we add reference of contract class in Data Provider class. How we will add controller class reference in Data Provider class or I have to add Data Provider class reference in controller class. If some one can explain its mechanism, how controller is used. I will be much thankful.
I have study some AX controller classes but it did not solve my confusion.