I've searched seemingly everywhere for something I thought would be easy.
I would like a list of buttons from a JSON record.
The number of items varies so I be sure of anything except maybe the total.*it would be preferred if I wasn't relying on that*
Anyway here is an example of the JSON I'm working with and the users record that I want to create the buttons for:
I followed the example in the docs dataview guide which uses:
This does work, yet only to show the right number of buttons. Since my record items returned do not have a handle like "name" the buttons rightly remain blank. I would be grateful to anyone who has a thought or suggestion.
One thought I had was to recursively add whatever property I needed after the store loaded to the records items, but so far no luck. I'm going to keep looking and trying, but hopefully someone can help or point me in the right direction.
FYI: NO I cannot change the json returned from the server side, so I get what I get
also the 'total' field might not always refer to the record I need.