<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Edting dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130265#M7674</link>
    <description>&lt;P&gt;I created a dashboard displaying certain results out of a search.i want to add show &amp;amp; hide options to the dashboard so that if i click show button results should get displayed and when i click hide button results should not get displayed.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2013 09:58:30 GMT</pubDate>
    <dc:creator>srajanbabu</dc:creator>
    <dc:date>2013-11-06T09:58:30Z</dc:date>
    <item>
      <title>Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130265#M7674</link>
      <description>&lt;P&gt;I created a dashboard displaying certain results out of a search.i want to add show &amp;amp; hide options to the dashboard so that if i click show button results should get displayed and when i click hide button results should not get displayed.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 09:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130265#M7674</guid>
      <dc:creator>srajanbabu</dc:creator>
      <dc:date>2013-11-06T09:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130266#M7675</link>
      <description>&lt;P&gt;Just to be clear, you want to hide the panel you're showing results OR just want to show empty table/"No Results found" message in the dashboard panel??&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 22:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130266#M7675</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-06T22:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130267#M7676</link>
      <description>&lt;P&gt;i want to hide the panel showing the results&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 05:18:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130267#M7676</guid>
      <dc:creator>srajanbabu</dc:creator>
      <dc:date>2013-11-07T05:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130268#M7677</link>
      <description>&lt;P&gt;Simple XML, advanced XML? If it's simple you'll need to convert to advanced first of all.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 07:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130268#M7677</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-11-07T07:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130269#M7678</link>
      <description>&lt;P&gt;i need in advance XML&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 09:24:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130269#M7678</guid>
      <dc:creator>srajanbabu</dc:creator>
      <dc:date>2013-11-07T09:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130270#M7679</link>
      <description>&lt;P&gt;you might want to explore ShowHideHeader module. It provides options to show or hide the panel on click on the panel&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2013 02:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130270#M7679</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-08T02:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130271#M7680</link>
      <description>&lt;P&gt;One workaround to do this is to include a checkbox in the panel which says "Hide Results". When that checkbox is checked, not results are shown (query modified to return nothing). Its not same as hiding panel, but effect is same. Here is the example implementation.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;view autoCancelInterval="90" isPersistable="true" isSticky="true" isVisible="true" objectMode="SimpleForm" onunloadCancelJobs="true" template="dashboard.html"&amp;gt;
    &amp;lt;label&amp;gt;Hide Panel Resutls&amp;lt;/label&amp;gt;

    &amp;lt;module name="AccountBar" layoutPanel="appHeader"/&amp;gt;
    &amp;lt;module name="AppBar" layoutPanel="navigationHeader"/&amp;gt;
    &amp;lt;module name="SideviewUtils" layoutPanel="appHeader"/&amp;gt;
    &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
        &amp;lt;param name="filter"&amp;gt;*&amp;lt;/param&amp;gt;
        &amp;lt;param name="clearOnJobDispatch"&amp;gt;False&amp;lt;/param&amp;gt;
        &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;module name="Message" layoutPanel="messaging"&amp;gt;
        &amp;lt;param name="filter"&amp;gt;splunk.search.job&amp;lt;/param&amp;gt;
        &amp;lt;param name="clearOnJobDispatch"&amp;gt;True&amp;lt;/param&amp;gt;
        &amp;lt;param name="maxSize"&amp;gt;1&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;

    &amp;lt;module name="Search" layoutPanel="panel_row1_col1" &amp;gt;
        &amp;lt;param name="search"&amp;gt;
        YOUR MAIN SEARCH QUERY
        &amp;lt;/param&amp;gt;
        &amp;lt;module name="Checkbox" layoutPanel="panel_row1_col1" &amp;gt;
            &amp;lt;param name="name"&amp;gt;hideResult&amp;lt;/param&amp;gt;
            &amp;lt;param name="checked"&amp;gt;False&amp;lt;/param&amp;gt;
            &amp;lt;param name="float"&amp;gt;left&amp;lt;/param&amp;gt;
            &amp;lt;param name="label"&amp;gt;Hide Result&amp;lt;/param&amp;gt;
            &amp;lt;param name="labelPosition"&amp;gt;right&amp;lt;/param&amp;gt;
            &amp;lt;param name="offValue"&amp;gt;
            |fields foo,bar #some random name so that no field is selected#
            &amp;lt;/param&amp;gt;
            &amp;lt;module name="PostProcess"&amp;gt;
                &amp;lt;param name="search"&amp;gt;
                &amp;lt;![CDATA[
                $hideResult$
                ]]&amp;gt;
                &amp;lt;/param&amp;gt;

                &amp;lt;module name="JobProgressIndicator" layoutPanel="panel_row1_col1"&amp;gt;&amp;lt;/module&amp;gt;
                &amp;lt;module name="Pager"&amp;gt;
                    &amp;lt;param name="count"&amp;gt;50&amp;lt;/param&amp;gt;
                    &amp;lt;module name="SimpleResultsTable"&amp;gt;
                    ...                 
                    &amp;lt;/module&amp;gt;
                &amp;lt;/module&amp;gt;       
            &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;       
&amp;lt;/view&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Nov 2013 20:45:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130271#M7680</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-08T20:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130272#M7681</link>
      <description>&lt;P&gt;when i tried this code i got something like Splunk encountered unknown module "SideViewutils" so view could not be loaded properly.&lt;/P&gt;

&lt;P&gt;Can you please look towards it.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 07:42:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130272#M7681</guid>
      <dc:creator>srajanbabu</dc:creator>
      <dc:date>2013-11-11T07:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Edting dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130273#M7682</link>
      <description>&lt;P&gt;This code (and myself) uses Sideview Util app, which provide much more simplified advanced xml for the dashboards. This app is available free in Splunk-base. The code should work after you install the same.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2013 11:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edting-dashboard/m-p/130273#M7682</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-11T11:53:49Z</dc:date>
    </item>
  </channel>
</rss>

