You build a lot of views but you always have the problem, that only three views are shown?
I often had this question by my customers, so I thought this is interesting for everybody.
Maybe you have four or more views, you want to show?
No problem. We will fix that right now!
Open the site with your library or list where you want to show more views.
Edit the page and add an Script Editor.
Click on EDIT SNIPPET
And now paste the following script and click on Insert:
NOTE: You can also save the above script in a .js file to attach it to you webpart. How you can do that is shown here. Also if you have more than 4 views you want to show, let's say 6, you simply change the column:
ClientPivotControl.prototype.SurfacedPivotCount = 4;to this:
ClientPivotControl.prototype.SurfacedPivotCount = 6;Click on Stop Editing and you will see the pure awesomeness. Hope you like this new afraIT Shorty. If you do, you are free to share it wherever you want. You can also check out the whole category of Shortys Also you can follow me on Twitter or Facebook.