<?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 Re: Data in a table does not initially display in a dashboard with tokens in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386157#M25293</link>
    <description>&lt;P&gt;@nick405060 as your issue is resolved, please go ahead and Accept your own answer to mark this question as answered!&lt;/P&gt;</description>
    <pubDate>Sat, 05 Jan 2019 04:18:40 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-01-05T04:18:40Z</dc:date>
    <item>
      <title>Data in a table does not initially display in a dashboard with tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386155#M25291</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;

&lt;P&gt;I have a dashboard that contains two textboxes, a submit button, and a table. Everything is working as it needs to, however the table does not initially display unless you click in both textboxes and then click the submit button. I have autorun dashboard checked. How can I get the data in the table to initially display when you load the dashboard?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;
    &amp;lt;input type="text" token="spl_id_box"&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="notes_box"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
| inputlookup "alerts.csv" | table spl_id sender message_subject recipient contact_count_before_today _time INC notes | eval notes=if(spl_id=="$spl_id_box$","$notes_box$",notes) | outputlookup "alerts.csv"
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Jan 2019 00:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386155#M25291</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-01-05T00:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Data in a table does not initially display in a dashboard with tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386156#M25292</link>
      <description>&lt;P&gt;@pyro_wood answered this question in Slack - many thanks. I added this after the completion of the fieldset stanza and that did the trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;init&amp;gt;
   &amp;lt;set token="spl_id_box"&amp;gt;&amp;lt;/set&amp;gt;
   &amp;lt;set token="notes_box"&amp;gt;&amp;lt;/set&amp;gt;
 &amp;lt;/init&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Jan 2019 00:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386156#M25292</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2019-01-05T00:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Data in a table does not initially display in a dashboard with tokens</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386157#M25293</link>
      <description>&lt;P&gt;@nick405060 as your issue is resolved, please go ahead and Accept your own answer to mark this question as answered!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jan 2019 04:18:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-in-a-table-does-not-initially-display-in-a-dashboard-with/m-p/386157#M25293</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-05T04:18:40Z</dc:date>
    </item>
  </channel>
</rss>

