<?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 Modify dashboard/form attributes in JavaScript in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-dashboard-form-attributes-in-JavaScript/m-p/537502#M36738</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am wondering if there is a way in JavaScript to modify attributes of forms/dashboards on the fly. Specifically, if I have a dashboard whose root element look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form refresh="100"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I edit that dashboard refresh value on-the-fly (maybe based on a user event)? I'm not looking to re-implement refresh (like location.reload()), just change the attribute value.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 22:15:36 GMT</pubDate>
    <dc:creator>bladick</dc:creator>
    <dc:date>2021-01-27T22:15:36Z</dc:date>
    <item>
      <title>Modify dashboard/form attributes in JavaScript</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-dashboard-form-attributes-in-JavaScript/m-p/537502#M36738</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am wondering if there is a way in JavaScript to modify attributes of forms/dashboards on the fly. Specifically, if I have a dashboard whose root element look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form refresh="100"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I edit that dashboard refresh value on-the-fly (maybe based on a user event)? I'm not looking to re-implement refresh (like location.reload()), just change the attribute value.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 22:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modify-dashboard-form-attributes-in-JavaScript/m-p/537502#M36738</guid>
      <dc:creator>bladick</dc:creator>
      <dc:date>2021-01-27T22:15:36Z</dc:date>
    </item>
  </channel>
</rss>

