<?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 Accessing search results from html file of custom module in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92083#M19128</link>
    <description>&lt;P&gt;My requirement is to create a custom module which will run a search query and pass on the results to a .swf file which will be embedded inside the module's HTML. I am currently returning the result in JSON format from my python script. &lt;/P&gt;

&lt;P&gt;Is there any way to pass this JSON object directly to the HTML file from the JS file's renderResults() function? &lt;/P&gt;

&lt;P&gt;Or is there any way to pass the data as XML from the HTML file?&lt;/P&gt;

&lt;P&gt;Or any alternate way to do this?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2013 11:57:11 GMT</pubDate>
    <dc:creator>keerthana_k</dc:creator>
    <dc:date>2013-01-18T11:57:11Z</dc:date>
    <item>
      <title>Accessing search results from html file of custom module</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92083#M19128</link>
      <description>&lt;P&gt;My requirement is to create a custom module which will run a search query and pass on the results to a .swf file which will be embedded inside the module's HTML. I am currently returning the result in JSON format from my python script. &lt;/P&gt;

&lt;P&gt;Is there any way to pass this JSON object directly to the HTML file from the JS file's renderResults() function? &lt;/P&gt;

&lt;P&gt;Or is there any way to pass the data as XML from the HTML file?&lt;/P&gt;

&lt;P&gt;Or any alternate way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 11:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92083#M19128</guid>
      <dc:creator>keerthana_k</dc:creator>
      <dc:date>2013-01-18T11:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing search results from html file of custom module</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92084#M19129</link>
      <description>&lt;P&gt;Even i am facing similar problem. I do not want to format the JSON results in renderResults function. I just need to pass that as is to module view's HTML and access it there. I am unable to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2013 15:53:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92084#M19129</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2013-01-18T15:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing search results from html file of custom module</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92085#M19130</link>
      <description>&lt;P&gt;Hi Keerthana, try including your JS (&lt;CODE&gt;yourapp.js&lt;/CODE&gt; in your module html file. Declare a global variable and try accessing it with in your html.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Strive&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 04:44:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92085#M19130</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2013-01-21T04:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing search results from html file of custom module</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92086#M19131</link>
      <description>&lt;P&gt;Thanks Strive.. It worked.!!!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 06:20:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-search-results-from-html-file-of-custom-module/m-p/92086#M19131</guid>
      <dc:creator>keerthana_k</dc:creator>
      <dc:date>2013-01-21T06:20:25Z</dc:date>
    </item>
  </channel>
</rss>

