cancel
Showing results for 
Search instead for 
Did you mean: 

Share DocumentLibrary Toolbar

mtw999
Champ in-the-making
Champ in-the-making
I'm trying to replace default documentlibrary toolbar WebScript to ultimately introduce a new button and related action. The action (I suspect) will just call a webscript, but I cannot figure out know how to override default share webscripts for documentlibrary toolbar. Would someone point me to something specific (example, etc) I've read the arcticle about extending "Selected items" but it seems adding to toolbar is more involved.

I'm using 4.1.2

Thanks.

M
2 REPLIES 2

aaditvmajmudar
Confirmed Champ
Confirmed Champ
All the menu under selected items button comes from toolbar.get.config.xml and all the required action(function) written in documentlibrary-actions.js.

Other buttons like new folder/upload etc.. comes from toolbar.get.html.ftl and action(function) written in toolbar.js file.

You can start with this files.

Hope this helps.

Thank ou Aadit. I know which files supply toolbar buttons & actions, but I'm not sure how to override these. I could certainly just modify toolbar.get.html.ftl, etc. in place but that is not a very good approach. I want to override these with my custom toolbar requirements (new buttons & actions, etc). Of all the posts I have seen relating to this, none really detail how to override. If anyone knows, please let me know

M