Hello All -
I am facing an issue in binding data fetched from Gateway to an Input element (<select>....</select>). As shown below, in my detail view, I have added an input element called "Company Code". I need this drop down to be populated with the Company Codes fetched from gateway.
Added the able input field using XML view (currenlty 1001 has been hardcoded - needs to be replaced with data fetched from gateway)
In Component.JS, I have written the following code to connect to gateway service:
I do not know how to bind the data fetched from GW to my input element. Appreciate if someone can help me getting this data attached.
Note: In Eclipse, I created a separate Gateway Starter Application Project to check if data is fetched successfully. I was able to get the required data from GW.
Thanks,
Vijay