Dashboards & Visualizations

how to hide More Info button from dashboard

vikas_gopal
Builder

Hi Experts,

I want to hide "more info" button next to "Edit" button in Splunk 6.2. I am aware that we can use hideEdit="true" but with this the whole panel is getting hide i.e (Edit,More Info, Export Pdf and Print). What I want is hide "More Info" only.

Thanks

Tags (1)
0 Karma

Umesh_Vedicsoft
Path Finder

Hi vikas_gopal,
first create a dashboard.css file which contains the given code and then place it inside of $Splunk_Home/etc/apps/your_app/appserver/static/dashboard.css
and then restart your splank.

dashboard.css file

.btn.more-info-btn{
display:none;
}

aakwah
Builder

That is working fine .. thanks

what about edit button? as it doesn't work the same way

0 Karma

aakwah
Builder

I think the problem was in my browser cache, the folloinwg code worked fine after clearing the cache.

.btn-group:first-child{
display:none;
}

My question now how to add this on view level to not affect other views.

Regards

0 Karma

rjthibod
Champion

Create another CSS file (not named dashboard.css) and than include that CSS files in the form element. For example, put your custom in a file 'hide-info.css' and than update your XML to something like this <form stylesheet="hide-info.css">.

You wiil need to restart the Splunk Server after adding this file in order for the web framework to pick it up.

markthompson
Builder

This doesn't appear to be possible, but you could take a look at this answer;
http://answers.splunk.com/answers/925/in-the-titlebar-module-is-it-possible-to-limit-the-list-of-act...

0 Karma