<?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: SplunkJS with SimpleXML Dashboard: How to get a service object? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/SplunkJS-with-SimpleXML-Dashboard-How-to-get-a-service-object/m-p/270458#M3396</link>
    <description>&lt;P&gt;Despite some of the docs I saw, the answer is quite simply:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;// Get access to Splunk objects via the JavaScript SDK
var service = mvc.createService();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Courtesy of: &lt;A href="http://dev.splunk.com/view/SP-CAAAE25#Addingcode:usingJavaScriptandSearchProcessingLanguage-UsingtheSplunkJavaScriptSDKtointerrogateotherapps"&gt;http://dev.splunk.com/view/SP-CAAAE25#Addingcode:usingJavaScriptandSearchProcessingLanguage-UsingtheSplunkJavaScriptSDKtointerrogateotherapps&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 13:24:38 GMT</pubDate>
    <dc:creator>David</dc:creator>
    <dc:date>2017-01-31T13:24:38Z</dc:date>
    <item>
      <title>SplunkJS with SimpleXML Dashboard: How to get a service object?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SplunkJS-with-SimpleXML-Dashboard-How-to-get-a-service-object/m-p/270457#M3395</link>
      <description>&lt;P&gt;A lot of things in SplunkJS require you to have a service object. I've read in a bunch of places that splunkjs.Service should work, but it hasn't for me. How do I get a SplunkJS service object?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:23:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SplunkJS-with-SimpleXML-Dashboard-How-to-get-a-service-object/m-p/270457#M3395</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2017-01-31T13:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkJS with SimpleXML Dashboard: How to get a service object?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SplunkJS-with-SimpleXML-Dashboard-How-to-get-a-service-object/m-p/270458#M3396</link>
      <description>&lt;P&gt;Despite some of the docs I saw, the answer is quite simply:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;// Get access to Splunk objects via the JavaScript SDK
var service = mvc.createService();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Courtesy of: &lt;A href="http://dev.splunk.com/view/SP-CAAAE25#Addingcode:usingJavaScriptandSearchProcessingLanguage-UsingtheSplunkJavaScriptSDKtointerrogateotherapps"&gt;http://dev.splunk.com/view/SP-CAAAE25#Addingcode:usingJavaScriptandSearchProcessingLanguage-UsingtheSplunkJavaScriptSDKtointerrogateotherapps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 13:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SplunkJS-with-SimpleXML-Dashboard-How-to-get-a-service-object/m-p/270458#M3396</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2017-01-31T13:24:38Z</dc:date>
    </item>
  </channel>
</rss>

