<?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 Remove token in the default token model or the submitted model in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Remove-token-in-the-default-token-model-or-the-submitted-model/m-p/274388#M17333</link>
    <description>&lt;P&gt;Is it possible to remove token in the default token model or the  submitted model? If yes, please post a example.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2015 08:25:05 GMT</pubDate>
    <dc:creator>amielke</dc:creator>
    <dc:date>2015-10-16T08:25:05Z</dc:date>
    <item>
      <title>Remove token in the default token model or the submitted model</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Remove-token-in-the-default-token-model-or-the-submitted-model/m-p/274388#M17333</link>
      <description>&lt;P&gt;Is it possible to remove token in the default token model or the  submitted model? If yes, please post a example.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 08:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Remove-token-in-the-default-token-model-or-the-submitted-model/m-p/274388#M17333</guid>
      <dc:creator>amielke</dc:creator>
      <dc:date>2015-10-16T08:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove token in the default token model or the submitted model</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Remove-token-in-the-default-token-model-or-the-submitted-model/m-p/274389#M17334</link>
      <description>&lt;P&gt;I solve the Problem like this:&lt;BR /&gt;
...&lt;BR /&gt;
var defaultTokenModel = mvc.Components.getInstance('default', {create: true});&lt;BR /&gt;
var submittedTokenModel = mvc.Components.getInstance('submitted', {create: true});&lt;BR /&gt;
...&lt;BR /&gt;
function setToken(name, value) {&lt;BR /&gt;
    defaultTokenModel.set(name, value);&lt;BR /&gt;
        submittedTokenModel.set(name, value);&lt;BR /&gt;
}&lt;BR /&gt;
...&lt;BR /&gt;
&lt;STRONG&gt;setToken("name",null);&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 14:03:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Remove-token-in-the-default-token-model-or-the-submitted-model/m-p/274389#M17334</guid>
      <dc:creator>amielke</dc:creator>
      <dc:date>2015-10-16T14:03:46Z</dc:date>
    </item>
  </channel>
</rss>

