csui-sdk 21.4.0 FolderBrowser Widget add Button sample

edited February 23, 2022 in Smart View #1

Hi All,

I am new to and having some trouble learning the smart UI sdk framework,

I have been studying require.js, backbone.js and marionette.js but it's still taking me awhile to understand how to implement functionality to more complicated widgets.

Are there any samples where I can inject a custom button under the FolderBrowser widget?

More specifically when documents are selected, a list of buttons show up on the top toolbar of the widget, my aim is to add a custom button in that toolbar shown:

But I don't seem to find any tutorial or samples to add a button,

Any help would be appreciated!

Also, is there an alternative way of deploying the code besides using Oscript?

Kind thanks,