How to set JSON as a data source to a Combo Box in Power Apps
I was creating a form mockup in Power Apps. Since it was a mockup, I didn't want to connect to any data source. One of the fields in the form was Combo Box. When you add this control, by default the Items property is set to ComboBoxSample . When you run the app, the combo box shows values such as Item 1, Item 2,... Item 15. For the purpose of the mockup, I wanted to put some other values to this control. However, creating a table and connecting to that data source is over engineering for a mockup. Hence, I wanted to create a sample JSON object and assign that to Items property. This is where things got little tricky. I tried forming JSON text something like below (the same example given in Microsoft website). [ { "id": 1, "name": "Option 1"}, { "id": 2, "name": "Option 2"}, { "id": 3, "name": "Option 3"} ] When I put this in Items property, it showed errors like below for the string part ...