<?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 Global variable in Simple XML?? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Global-variable-in-Simple-XML/m-p/127250#M7534</link>
    <description>&lt;P&gt;Is it possible to create a global variable in Simple XML dashboard like we do using resultsvaluesetter module in advanceXML??&lt;/P&gt;

&lt;P&gt;My requirement is to create a custom table using html tags.&lt;/P&gt;

&lt;P&gt;As an example: &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Overall Status&lt;/STRONG&gt;                &lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;Total&lt;/STRONG&gt;                                     55&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;Pass&lt;/STRONG&gt;                                      30&lt;BR /&gt;
&lt;STRONG&gt;Fail&lt;/STRONG&gt;                                        25&lt;/P&gt;

&lt;P&gt;Now here I want create three global variables named as varTotal, varPass, varFail so these values are available as tokens throughout my dashboard.&lt;/P&gt;

&lt;P&gt;My dashboard isnt having any dropdowns or for that matter any form elements.&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2015 11:06:07 GMT</pubDate>
    <dc:creator>jitsinha</dc:creator>
    <dc:date>2015-05-26T11:06:07Z</dc:date>
    <item>
      <title>Global variable in Simple XML??</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Global-variable-in-Simple-XML/m-p/127250#M7534</link>
      <description>&lt;P&gt;Is it possible to create a global variable in Simple XML dashboard like we do using resultsvaluesetter module in advanceXML??&lt;/P&gt;

&lt;P&gt;My requirement is to create a custom table using html tags.&lt;/P&gt;

&lt;P&gt;As an example: &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Overall Status&lt;/STRONG&gt;                &lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;Total&lt;/STRONG&gt;                                     55&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;Pass&lt;/STRONG&gt;                                      30&lt;BR /&gt;
&lt;STRONG&gt;Fail&lt;/STRONG&gt;                                        25&lt;/P&gt;

&lt;P&gt;Now here I want create three global variables named as varTotal, varPass, varFail so these values are available as tokens throughout my dashboard.&lt;/P&gt;

&lt;P&gt;My dashboard isnt having any dropdowns or for that matter any form elements.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 11:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Global-variable-in-Simple-XML/m-p/127250#M7534</guid>
      <dc:creator>jitsinha</dc:creator>
      <dc:date>2015-05-26T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Global variable in Simple XML??</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Global-variable-in-Simple-XML/m-p/127251#M7535</link>
      <description>&lt;P&gt;I use input text field with depends on unexisting variable.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="text" token="myToken" depends="$hiddenToken$"&amp;gt;
  &amp;lt;default&amp;gt;my variable&amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;$myToken$ is default value, and you don't see it with "depends".&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 12:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Global-variable-in-Simple-XML/m-p/127251#M7535</guid>
      <dc:creator>mclane1</dc:creator>
      <dc:date>2017-09-29T12:02:50Z</dc:date>
    </item>
  </channel>
</rss>

