Forum Discussion
Mike Jansen
Apr 19, 2017Iron Contributor
Hide folder in document library
For some reason we have a "special" folder in all our document libraries. We want to hide this folder (content will be exposed by search but we do not want it visible by browsing the library).
I tried to make a new view and put an filter on it (if folder = "special folder" blabla). This seems not possible. Now I try to use js Link to achieve it but I'm a bit stuck. Can someone help me out?
Thanks, Mike
Two things:
- Is it an option to hide all folders generally or only this "specific" one?
- As far as I have in mind the view only displays elements where the condition is true. Try it the other way around: IF "Name" is not equal to "Specific Folder Name".
- Adrian ChrobokBrass Contributor
Two things:
- Is it an option to hide all folders generally or only this "specific" one?
- As far as I have in mind the view only displays elements where the condition is true. Try it the other way around: IF "Name" is not equal to "Specific Folder Name".
- Mike JansenIron ContributorHow simple ;-) That I did not think it myself "Name" is not equal did the trick.
Thanks
- Brent EllisSilver ContributorCan you do the view based on the ID of the folder?
Display all items where id ID is NOT 7- Mike JansenIron ContributorI would prefer to have it more dynamic so I can use is for all my document libraries. Sometimes this "special" folder is even within a subfolder (don't ask ..... ;-( )