<?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 to redirect another template in Django (SplunkJS) ? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158911#M2159</link>
    <description>&lt;P&gt;Thank you for answer!!!  i solved it.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2015 08:57:00 GMT</pubDate>
    <dc:creator>ryuch2002</dc:creator>
    <dc:date>2015-04-28T08:57:00Z</dc:date>
    <item>
      <title>How to redirect another template in Django (SplunkJS) ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158909#M2157</link>
      <description>&lt;P&gt;splunk version  : 6.2.2&lt;/P&gt;

&lt;P&gt;some code :&lt;BR /&gt;
-- content area ---&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;div class="panel-body" &amp;gt;
 {% chart id="chart_avgResponseTime" managerid="avgResponseTime" type="line" drilldown="all" drilldownRedirect=false %}
&amp;lt;/div&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--script code --&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script&amp;gt;
        var deps = [
            "splunkjs/ready!"
        ];
        require(deps, function(mvc) {
            var chart_avgResponseTime = splunkjs.mvc.Components.getInstance("chart_avgResponseTime");
            chart_avgResponseTime.on("click:chart", function(e) {

            ******* i want to redirect another template(or page) ******            

});         
&amp;lt;/script&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2015 03:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158909#M2157</guid>
      <dc:creator>ryuch2002</dc:creator>
      <dc:date>2015-04-28T03:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to redirect another template in Django (SplunkJS) ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158910#M2158</link>
      <description>&lt;P&gt;Try following code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; e.preventDefault();
window.location.href="{% url '&amp;lt;APP_NAME&amp;gt;:&amp;lt;TEMPLATE_NAME&amp;gt;' %}?param1=value1&amp;amp;param2=Value2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;APP_NAME : the given app name within which the template is residing.&lt;BR /&gt;
TEMPLATE_NAME: The template name given in &lt;STRONG&gt;urls.py&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158910#M2158</guid>
      <dc:creator>vganjare</dc:creator>
      <dc:date>2020-09-28T19:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to redirect another template in Django (SplunkJS) ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158911#M2159</link>
      <description>&lt;P&gt;Thank you for answer!!!  i solved it.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 08:57:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-redirect-another-template-in-Django-SplunkJS/m-p/158911#M2159</guid>
      <dc:creator>ryuch2002</dc:creator>
      <dc:date>2015-04-28T08:57:00Z</dc:date>
    </item>
  </channel>
</rss>

