AnsweredAssumed Answered

How to hide Upload file button in document library

Question asked by hiten.rastogi on Feb 12, 2016
Latest reply on Mar 10, 2016 by art99trash
Hello.

I have a requirement where I want to hide the Upload file button and show it only if we are under a certain folder.

For getting started I created a extension module that hide the button in all cases(I will be creating a custom evaluator later) by commenting out the file-upload button div in toolbar.get.html.ftl but it doesn't seems to work. Any ideas how can I get the module working.

Thanks

Outcomes