dimanche 15 mars 2015

Disable ribbon button at specific folder level in document library



I have the following folder structure in my document library:



Library
|----- Folder 1
| |----- Sub-folder 1
|
|----- Folder 2
|----- Sub-folder 2


I have a requirement in which when user is at library level, some of the ribbon buttons are disabled but not at folder 1 level (where user is looking at sub-folder 1 or sub-folder 2).


I understand that it can be done via javascript or C# but the examples I found don't really meet my requirement.


How can I go about doing this?








0 commentaires:

Enregistrer un commentaire