Create Country List from JSON
问题 I am trying to create a combo box with a list of countries in SAP UI5. I have created a combo box and have created dynamic list of some countries, but to create more than 100 countries, the only easy way is to create a JSON file of countries and then populate in Controller.js. I tried to create a JSON file but I am unsure whether I have to store it under model folder or root . What changes do I have to make in my XML view and controller, and where should I attach countries.json file? 回答1: You