Not completely sure what you ask for, but I think you can use DataGridFieldFactory
Where 'IButtonPair' is defined with:
Then you should be able to get them by (in my code, change to your 'names/keys':
btns = api.portal.get_registry_record(name="button_pairs", interface=IMarkdownSettings)
for btn in btns:
name = btn['name']
icon = btn['icon']
1 Like
Thank you, espenmn. Really useful.
This is my solution, maybe useful for others, too: https://stackoverflow.com/a/46956651/1929820