Hi,
Thanks for the response.
Yes I have already done that but its not able to access the method . As the structure of the controller file is
sap.ui.controller("MyController", {
myMethod: function(){}
}
And I am not able to directly access the method using name_of_controller.method_name().
In normal JS files, the structure will be something like this:
jQuery.sap.declare("file");
MyTestFile = {
myMethod: function(employeeID){
}}
In this case we can directly access method using dot operator.
But that is not happening in controller's case.
Regards,
Anupriya