<?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 looking for proper way to dynamically set 'search' property in PostProcessManager (splunkjs outside of Splunk) in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/looking-for-proper-way-to-dynamically-set-search-property-in/m-p/499913#M8979</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm looking for the proper way to set the 'search' property of a PostProcessManager in splunkjs within an app that runs outside of Splunk Enterprise. Documentation on this is not clear, and my trials have been unsuccessful, as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; myManager.set("search", &amp;lt;mysearchstring&amp;gt;)    is apparently syntactically correct, but returns no results
 myManager.settings.set("search", &amp;lt;mysearchstring&amp;gt;)   is apparently syntactically correct, but returns no results
 myManager.search.set(&amp;lt;mysearchstring&amp;gt;) is apparently syntactically correct but causes no update in the display
 myManager.query.set(&amp;lt;mysearchstring) is also syntactically correct but causes no update in the display
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;NOTES:&lt;BR /&gt;- After setting the search query, I'm also calling 'startSearch()' on the search manager, and then render() on the chart&lt;BR /&gt;- Before responding, please note that this is for apps outside of Splunk and not otherwise. See examples for this type of apps in &lt;A href="https://dev.splunk.com/enterprise/docs/developapps/webframework/codeexamplefw/splunkjsstack/searchcontrolseventsjs" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/developapps/webframework/codeexamplefw/splunkjsstack/searchcontrolseventsjs&lt;/A&gt; This is where the 'manager.search.set' and 'manager.query.set' are used in examples with plain SearchManager instances)&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jun 2020 18:10:23 GMT</pubDate>
    <dc:creator>pgoldweic</dc:creator>
    <dc:date>2020-06-07T18:10:23Z</dc:date>
    <item>
      <title>looking for proper way to dynamically set 'search' property in PostProcessManager (splunkjs outside of Splunk)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/looking-for-proper-way-to-dynamically-set-search-property-in/m-p/499913#M8979</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm looking for the proper way to set the 'search' property of a PostProcessManager in splunkjs within an app that runs outside of Splunk Enterprise. Documentation on this is not clear, and my trials have been unsuccessful, as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; myManager.set("search", &amp;lt;mysearchstring&amp;gt;)    is apparently syntactically correct, but returns no results
 myManager.settings.set("search", &amp;lt;mysearchstring&amp;gt;)   is apparently syntactically correct, but returns no results
 myManager.search.set(&amp;lt;mysearchstring&amp;gt;) is apparently syntactically correct but causes no update in the display
 myManager.query.set(&amp;lt;mysearchstring) is also syntactically correct but causes no update in the display
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;NOTES:&lt;BR /&gt;- After setting the search query, I'm also calling 'startSearch()' on the search manager, and then render() on the chart&lt;BR /&gt;- Before responding, please note that this is for apps outside of Splunk and not otherwise. See examples for this type of apps in &lt;A href="https://dev.splunk.com/enterprise/docs/developapps/webframework/codeexamplefw/splunkjsstack/searchcontrolseventsjs" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/developapps/webframework/codeexamplefw/splunkjsstack/searchcontrolseventsjs&lt;/A&gt; This is where the 'manager.search.set' and 'manager.query.set' are used in examples with plain SearchManager instances)&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/looking-for-proper-way-to-dynamically-set-search-property-in/m-p/499913#M8979</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-06-07T18:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: looking for proper way to dynamically set 'search' property in PostProcessManager (splunkjs outside of Splunk)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/looking-for-proper-way-to-dynamically-set-search-property-in/m-p/499914#M8980</link>
      <description>&lt;P&gt;I've been able to find the answer to my question after I kept experimenting. Turns out that option #2 above is the correct one. I was originally confused by the fact that the search was returning no results, but eventually I figured out that it was due to a mistake I had made when creating the search query. &lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 16:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/looking-for-proper-way-to-dynamically-set-search-property-in/m-p/499914#M8980</guid>
      <dc:creator>pgoldweic</dc:creator>
      <dc:date>2020-05-18T16:36:17Z</dc:date>
    </item>
  </channel>
</rss>

