Hello Team,
I have a text field taking user input. Now, this input is supposed to be passed to xsjs url.
I have tried something like below in view.js . But, its not hitting the service as their is no response while debugging
var name = new sap.ui.commons.TextField("TBName");
var name = sap.ui.getCore().byId("TBName");
var val = name.getValue();
var url = window.location.origin + "/a_practice/services/getScreen.xsjs?cvName=" + val;
Is this correct ??
If not, how to retrieve a value from the text field and pass into xsjs as a parameter
Thanks,
Maneesha