<?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: Dashboard Studio | How do I encode inputs into the URL of a dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653152#M53684</link>
    <description>&lt;P&gt;This works for me&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;?form.selectedRegion=GB&lt;/LI-CODE&gt;&lt;P&gt;Which version of Splunk are you using?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 06:56:11 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-08-04T06:56:11Z</dc:date>
    <item>
      <title>Dashboard Studio | How do I encode inputs into the URL of a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/652934#M53647</link>
      <description>&lt;P&gt;When the page gets reloaded for my Dashboard Studio dashboard all of the inputs get reset. I have to enter all the inputs again which is disruptive to my workflow.&lt;/P&gt;&lt;P&gt;This is particularlly annoying in two use cases:&lt;/P&gt;&lt;P&gt;1. When I reboot my machine chrome remembers my tabs but it causes the page to reload. So after a reboot I have to enter all the inputs again.&lt;/P&gt;&lt;P&gt;2. When the SSO times out at my company it causes a login page to load, then after auth it navigates back to the dashboard. This is annoying because it can happen any time of the day.&lt;/P&gt;&lt;P&gt;Is there a solution for this? Can I encode the input values into the URL for the dashboard so it will automatically load with the correct values even if the page is reloaded?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the source for my inputs&lt;/P&gt;&lt;PRE&gt;{
    "type": "input.timerange",
    "options": {
        "token": "global_time",
        "defaultValue": "-24h@h,now"
    },
    "title": "Time Range"
}

{
    "options": {
        "items": [
            {
                "label": "All",
                "value": "US, CA, GB"
            },
            {
                "label": "US",
                "value": "US"
            },
            {
                "label": "CA",
                "value": "CA"
            },
            {
                "label": "GB",
                "value": "GB"
            }
        ],
        "defaultValue": "US, CA, GB",
        "token": "selectedRegion"
    },
    "title": "Region",
    "type": "input.dropdown"
}

{
    "options": {
        "items": [
            {
                "label": "Unique Companies",
                "value": "realms"
            },
            {
                "label": "Percentage of Total Traffic",
                "value": "percentage"
            }
        ],
        "defaultValue": "realms",
        "token": "selectedMode"
    },
    "title": "Mode",
    "type": "input.dropdown"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 18:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/652934#M53647</guid>
      <dc:creator>jprior</dc:creator>
      <dc:date>2023-08-02T18:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio | How do I encode inputs into the URL of a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/652935#M53648</link>
      <description>&lt;P&gt;You can define initial values as well as default values (at least you can in Classic dashboards) - the other way is to pass them as parameter on the URL e.g. &amp;amp;form.input1=abc&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 18:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/652935#M53648</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-02T18:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio | How do I encode inputs into the URL of a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653116#M53679</link>
      <description>&lt;P&gt;What would be the specific encoding to pass the options on the URL for my case? Let's say I want to set the Region selector to "GB"?&lt;/P&gt;&lt;P&gt;For that select here is the critical information:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Title:&amp;nbsp;Region&lt;/LI&gt;&lt;LI&gt;Token Name:&amp;nbsp;selectedRegion&lt;/LI&gt;&lt;LI&gt;Input ID:&amp;nbsp;input_npJ29MjX&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;None of these random guesses worked for me:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;?form.Region=GB&lt;/LI&gt;&lt;LI&gt;?form.selectedRegion=GB&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX=GB&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX.value=GB&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX.selected=GB&lt;/LI&gt;&lt;LI&gt;?Region=GB&lt;/LI&gt;&lt;LI&gt;?selectedRegion=GB&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX=GB&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX.value=GB&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX.selected=GB&lt;/LI&gt;&lt;LI&gt;?form.Region="GB"&lt;/LI&gt;&lt;LI&gt;?form.selectedRegion="GB"&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX="GB"&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX.value="GB"&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX.selected="GB"&lt;/LI&gt;&lt;LI&gt;?Region="GB"&lt;/LI&gt;&lt;LI&gt;?selectedRegion="GB"&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX="GB"&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX.value="GB"&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX.selected="GB"&lt;/LI&gt;&lt;LI&gt;?form.Region=3&lt;/LI&gt;&lt;LI&gt;?form.selectedRegion=3&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX=3&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX.value=3&lt;/LI&gt;&lt;LI&gt;?form.input_npJ29MjX.selected=3&lt;/LI&gt;&lt;LI&gt;?Region=3&lt;/LI&gt;&lt;LI&gt;?selectedRegion=3&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX=3&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX.value=3&lt;/LI&gt;&lt;LI&gt;?input_npJ29MjX.selected=3&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 03 Aug 2023 23:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653116#M53679</guid>
      <dc:creator>jprior</dc:creator>
      <dc:date>2023-08-03T23:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio | How do I encode inputs into the URL of a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653152#M53684</link>
      <description>&lt;P&gt;This works for me&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;?form.selectedRegion=GB&lt;/LI-CODE&gt;&lt;P&gt;Which version of Splunk are you using?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 06:56:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653152#M53684</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-04T06:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio | How do I encode inputs into the URL of a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653257#M53698</link>
      <description>&lt;P&gt;Does that work for you on a Dashboard Studio dashboard?&lt;/P&gt;&lt;P&gt;We have version 8.2.7.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 17:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653257#M53698</guid>
      <dc:creator>jprior</dc:creator>
      <dc:date>2023-08-04T17:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Studio | How do I encode inputs into the URL of a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653272#M53706</link>
      <description>&lt;P&gt;Yes, Dashboard Studio but I am on 9.1.0.1&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 18:34:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Studio-How-do-I-encode-inputs-into-the-URL-of-a/m-p/653272#M53706</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-04T18:34:41Z</dc:date>
    </item>
  </channel>
</rss>

