How would I open a file browser window using the ribbon buttons
Using html I would use a button with a type = file
<input type="file" id="fileInput">
but I can’t really do that with the Ribbon buttons
{
text: "File",
active: true,
items: [
...
{
type: 'block', text: 'File', mode: 'rows', list: [
{
type: 'button', text: 'Open', img: "48/open.gif",
onclick: function () {
//Open File Browser to find .json files
}
},
.....
]
}
....
]
}