<?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: How do I update a time picker value using javascript? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507979#M33776</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;Thank you for the input.&amp;nbsp; I tried to do exactly what you suggest before creating this thread, but it just doesn't work.&amp;nbsp; I cannot seem to access the timepicker token in this way.&amp;nbsp; I've even tried to interact with it directly by assigning an id "input_data_period":&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var input_data_period = mvc.Components.getInstance("input_data_period");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Either way, I'm not certain how to interact with the earliest value despite many failed attempts.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Have you managed to get it working successfully somewhere?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Jul 2020 06:38:02 GMT</pubDate>
    <dc:creator>andrewtrobec</dc:creator>
    <dc:date>2020-07-08T06:38:02Z</dc:date>
    <item>
      <title>How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507877#M33764</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My goal is to use javascript to update the "earliest" value of a time picker input to 6 months ago in the event that the user selects a time range with an "earliest" value greater than 6 months ago.&amp;nbsp; I don't want a user to be able to extract more than 6 months of data, but at the same time I want them to be able to use the flexibility of the time picker input.&lt;/P&gt;
&lt;P&gt;So far I have:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a token "tok_six_months_ago" under &amp;lt;init&amp;gt; tag on the dashboard which is&amp;nbsp; set to relative_time(now(),"-6mon@mon")&lt;/LI&gt;
&lt;LI&gt;Defined a time picker input with name "tok_data_period"&lt;/LI&gt;
&lt;LI&gt;Converted the "tok_data_period" earliest and latest values to epoch via the &amp;lt;change&amp;gt; tag
&lt;UL&gt;
&lt;LI&gt;&amp;lt;eval token="tok_earliest_epoch"&amp;gt;if(isnum('earliest'),'earliest',relative_time(now(),'earliest')&amp;lt;/eval&amp;gt;&lt;/LI&gt;
&lt;LI&gt;&amp;lt;eval token="tok_latest_epoch"&amp;gt;if(isnum('latest'),'latest',relative_time(now(),'latest')&amp;lt;/eval&amp;gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Created a JavaScript file that monitors changes to&amp;nbsp;"tok_earliest_epoch" and alerts a user when it is out of bounds (it checks earliest against "tok_six_months_ago")
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;def_tok&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;on&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"change:tok_earliest_epoch"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;def_tok&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"tok_earliest_epoch"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;def_tok&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"tok_six_months_ago"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Lower&amp;nbsp;time&amp;nbsp;limit&amp;nbsp;is&amp;nbsp;out&amp;nbsp;of&amp;nbsp;bounds:&amp;nbsp;data&amp;nbsp;will&amp;nbsp;only&amp;nbsp;be&amp;nbsp;shown&amp;nbsp;for&amp;nbsp;the&amp;nbsp;last&amp;nbsp;6&amp;nbsp;months"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;What I would like to do now, but I don't know how, is update the timepicker token on the form (tok_data_period.earliest) with the epoch contained in the "&lt;SPAN&gt;tok_six_months_ago".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please can somebody help?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 22:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507877#M33764</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2020-07-08T22:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507938#M33774</link>
      <description>&lt;P&gt;In your javascript you can get hold of the tokens using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  var tokens = mvc.Components.get('default');
  var submittedTokens = mvc.Components.get('submitted');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where mvc is from here in your JS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;require([
  'underscore',
  'jquery',
  'backbone',
  'splunkjs/mvc'  &amp;lt;------- HERE
], function(_, $, Backbone, mvc)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See here for description on the token models&lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/developapps/webframework/binddatausingtokens/tokenmodels/" target="_blank" rel="noopener"&gt;https://dev.splunk.com/enterprise/docs/developapps/webframework/binddatausingtokens/tokenmodels/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then you can do something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tokens.set('tok_data_period.earliest', tokens.get('tok_six_months_ago');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can also be done through the dashboard by using for time picker token name prefixed with 'form.', as in&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;finalized&amp;gt;
      &amp;lt;condition match=" 'job.resultCount' != 0"&amp;gt;
        &amp;lt;set token="form.parm_ts.earliest"&amp;gt;$result.start_time$&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;/finalized&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;where the time token in the dashboard input is 'param_ts'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this gets you on the right track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 22:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507938#M33774</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-08T22:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507979#M33776</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;Thank you for the input.&amp;nbsp; I tried to do exactly what you suggest before creating this thread, but it just doesn't work.&amp;nbsp; I cannot seem to access the timepicker token in this way.&amp;nbsp; I've even tried to interact with it directly by assigning an id "input_data_period":&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var input_data_period = mvc.Components.getInstance("input_data_period");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Either way, I'm not certain how to interact with the earliest value despite many failed attempts.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Have you managed to get it working successfully somewhere?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Jul 2020 06:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/507979#M33776</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2020-07-08T06:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508008#M33779</link>
      <description>&lt;P&gt;One thing you could try - I know a colleague used this technique in one of his dashboards to update the time picker search time based on the results of a search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;finalized&amp;gt;
      &amp;lt;condition match=" 'job.resultCount' != 0"&amp;gt;
        &amp;lt;set token="form.parm_ts.earliest"&amp;gt;$result.start_time$&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;/finalized&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The time picker token is defined as token="parm_ts" but here it's setting form.parm_ts.earliest&lt;/P&gt;&lt;P&gt;Maybe that's the trick?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 08:04:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508008#M33779</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-08T08:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508083#M33789</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;That's it!&amp;nbsp; I needed to set the form.&amp;lt;token&amp;gt; so it updates both token&amp;nbsp;and UI.&amp;nbsp; Amazing!&amp;nbsp; &amp;nbsp;If you want to update your previous response with reference to the form token then I can accept it as the correct answer.&amp;nbsp; Thanks for the help, much appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:24:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508083#M33789</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2020-07-08T13:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508170#M33793</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/203131"&gt;@andrewtrobec&lt;/a&gt;&amp;nbsp;Do you really need JavaScript? Or your use case is to adjust the Earliest Time in Simple XML to 6 months ago in case someone provides earliest date older than 6 month? As this use case can be implemented using Independent search in Simple XML. `&amp;lt;eval&amp;gt;` based approach can also be used in place of Independent Search, but I have illustrated only one example here. Please refer to my older post with both steps documented:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Archive/Running-one-of-two-searches-based-on-time-picker-selection/td-p/364411" target="_blank"&gt;https://community.splunk.com/t5/Archive/Running-one-of-two-searches-based-on-time-picker-selection/td-p/364411&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please try out the following example and confirm!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Adjust Earliest Time Input&amp;lt;/label&amp;gt;
  &amp;lt;!-- Independent Search to adjust earliest Time for Search query to 6 months ago if older than 6 month time is selected. --&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;| makeresults
| addinfo
| eval MAX_EARLIEST_TIME=relative_time(now(),"-6mon@mon"),
       info_max_time=case(info_max_time=="+Infinity",_time,true(),info_max_time)
| eval showEarliestTimeAdjustedMsg=case(info_min_time&amp;amp;lt;MAX_EARLIEST_TIME,"true"),
       info_min_time=case(info_min_time&amp;amp;lt;MAX_EARLIEST_TIME,MAX_EARLIEST_TIME,
       true(),info_min_time)
| fields info_min_time info_max_time MAX_EARLIEST_TIME showEarliestTimeAdjustedMsg
    &amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$tokTime.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$tokTime.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;done&amp;gt;
      &amp;lt;set token="earliestTime"&amp;gt;$result.info_min_time$&amp;lt;/set&amp;gt;
      &amp;lt;set token="latestTime"&amp;gt;$result.info_max_time$&amp;lt;/set&amp;gt;
      &amp;lt;eval token="showTimeAdj"&amp;gt;$result.showEarliestTimeAdjustedMsg$&amp;lt;/eval&amp;gt;
    &amp;lt;/done&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="tokTime" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-7mon&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html depends="$showTimeAdj$"&amp;gt;
        &amp;lt;div&amp;gt;
          &amp;lt;b&amp;gt;Earliest time allowed can not be older than 6 months. Time adjusted!!!&amp;lt;/b&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults 
| fields - _time 
| eval EarliestTime=strftime($earliestTime$,"%Y/%m/%d %H:%M:%S"), LatestTime=strftime($latestTime$,"%Y/%m/%d %H:%M:%S")&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do upvote the answers if they assist you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 19:15:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508170#M33793</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-07-08T19:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508265#M33802</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;This is a great alternative, thank you for taking the time!&amp;nbsp; For my use case I need it to be JS based because there are some additional operations that I need to perform.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 10:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508265#M33802</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2020-07-09T10:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508296#M33807</link>
      <description>&lt;P&gt;May I know those additional tasks for JS, that can not be performed in Simple XML. I can surely help you with JS but a bit later (possibly over weekend).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 12:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508296#M33807</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-07-09T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508732#M33864</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;Appreciate your availability, but I've already got the other parts sorted.&amp;nbsp; I'm working on some ACL type data visibility mechanisms through JS so that users can't exploit Splunk's default features to access data that they shouldn't.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 06:08:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508732#M33864</guid>
      <dc:creator>andrewtrobec</dc:creator>
      <dc:date>2020-07-13T06:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508735#M33865</link>
      <description>&lt;P&gt;Understood. Yes granular restrictions can be applied via JS. If users don't have access to edit Simple XML then even my proposal would also work. Consider this, if someone can edit the XML then they can also remove the JS script from bein called. from the dashboard.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 06:25:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/508735#M33865</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-07-13T06:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/509815#M33981</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;STRONG&gt;&amp;lt;finalized&amp;gt;&lt;/STRONG&gt; is not supported search event handler since version 6.5 use &lt;STRONG&gt;&amp;lt;done&amp;gt;&lt;/STRONG&gt; instead. Refer to the latest list of supported search event handlers:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/EventHandlerReference#Search_event_handlers" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/EventHandlerReference#Search_event_handlers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 22:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/509815#M33981</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-07-17T22:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I update a time picker value using javascript?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/509934#M33994</link>
      <description>&lt;P&gt;Oops, yes I only use &amp;lt;done&amp;gt; - that just escaped from a cut/paste &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 00:04:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-update-a-time-picker-value-using-javascript/m-p/509934#M33994</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-20T00:04:01Z</dc:date>
    </item>
  </channel>
</rss>

