<?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 Uncaught TypeError: showcase.Cloud9Carousel is not a function in Security</title>
    <link>https://community.splunk.com/t5/Security/Uncaught-TypeError-showcase-Cloud9Carousel-is-not-a-function/m-p/442114#M15483</link>
    <description>&lt;P&gt;I am trying to implement animations as mentioned in below post:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://www.splunk.com/blog/2017/04/25/animate-simplexml-dashboard-elements-with-a-carousel.html" target="test_blank"&gt;https://www.splunk.com/blog/2017/04/25/animate-simplexml-dashboard-elements-with-a-carousel.html&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Below is my carousel.js file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; require([
        'underscore',
        'jquery',
        'splunkjs/mvc',
        'splunkjs/mvc/simplexml/ready!',
        '/static/app/search/js/lib/jquery.cloud9carousel.js'
    ], function(_, $, mvc, Carousel) {
    var showcase = $("#showcase");

    showcase.Cloud9Carousel( {
        yOrigin: 42,
        yRadius: 40,
        itemClass: "dashboard-cell",
        autoPlay: 1,
        bringToFront: true,
        onLoaded: function() {
          showcase.css( 'visibility', 'visible' )
          showcase.css( 'display', 'none' )
          showcase.fadeIn( 1500 )
        }
      } )

});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Below is my carousel.css file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#showcase {
      height: 570px;
      overflow: visible !important;
    }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My cloud9carousel.js is placed at "/static/app/search/js/lib/jquery.cloud9carousel.js"&lt;BR /&gt;
I even tried adding below at the starting of jquery.cloud9carousel.js file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
'jquery'
], function($) {
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But still no luck.&lt;BR /&gt;
I am getting following error in my javascript developer console on browser:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Uncaught TypeError: showcase.Cloud9Carousel is not a function
     at eval (eval at globalEval (common.js:15), &amp;lt;anonymous&amp;gt;:17:11)
     at Object.execCb (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1658:33)
     at Module.check (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:874:51)
     at Module.eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1121:34)
     at eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:132:23)
     at eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1164:21)
     at each (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:57:31)
     at Module.emit (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1163:17)
     at Module.check (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:925:30)
     at Module.enable (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1151:22)
 VM650:766 Uncaught TypeError: depMaps.slice is not a function
     at Module.init (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:766:51)
     at eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1424:36)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone help and guide me what I am doing wrong? I added row id="showcase" in my dashboard as well.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 07:26:55 GMT</pubDate>
    <dc:creator>nagar57</dc:creator>
    <dc:date>2019-06-26T07:26:55Z</dc:date>
    <item>
      <title>Uncaught TypeError: showcase.Cloud9Carousel is not a function</title>
      <link>https://community.splunk.com/t5/Security/Uncaught-TypeError-showcase-Cloud9Carousel-is-not-a-function/m-p/442114#M15483</link>
      <description>&lt;P&gt;I am trying to implement animations as mentioned in below post:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://www.splunk.com/blog/2017/04/25/animate-simplexml-dashboard-elements-with-a-carousel.html" target="test_blank"&gt;https://www.splunk.com/blog/2017/04/25/animate-simplexml-dashboard-elements-with-a-carousel.html&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Below is my carousel.js file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; require([
        'underscore',
        'jquery',
        'splunkjs/mvc',
        'splunkjs/mvc/simplexml/ready!',
        '/static/app/search/js/lib/jquery.cloud9carousel.js'
    ], function(_, $, mvc, Carousel) {
    var showcase = $("#showcase");

    showcase.Cloud9Carousel( {
        yOrigin: 42,
        yRadius: 40,
        itemClass: "dashboard-cell",
        autoPlay: 1,
        bringToFront: true,
        onLoaded: function() {
          showcase.css( 'visibility', 'visible' )
          showcase.css( 'display', 'none' )
          showcase.fadeIn( 1500 )
        }
      } )

});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Below is my carousel.css file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#showcase {
      height: 570px;
      overflow: visible !important;
    }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My cloud9carousel.js is placed at "/static/app/search/js/lib/jquery.cloud9carousel.js"&lt;BR /&gt;
I even tried adding below at the starting of jquery.cloud9carousel.js file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
'jquery'
], function($) {
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But still no luck.&lt;BR /&gt;
I am getting following error in my javascript developer console on browser:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Uncaught TypeError: showcase.Cloud9Carousel is not a function
     at eval (eval at globalEval (common.js:15), &amp;lt;anonymous&amp;gt;:17:11)
     at Object.execCb (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1658:33)
     at Module.check (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:874:51)
     at Module.eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1121:34)
     at eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:132:23)
     at eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1164:21)
     at each (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:57:31)
     at Module.emit (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1163:17)
     at Module.check (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:925:30)
     at Module.enable (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1151:22)
 VM650:766 Uncaught TypeError: depMaps.slice is not a function
     at Module.init (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:766:51)
     at eval (eval at module.exports (common.js:139), &amp;lt;anonymous&amp;gt;:1424:36)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone help and guide me what I am doing wrong? I added row id="showcase" in my dashboard as well.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 07:26:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Uncaught-TypeError-showcase-Cloud9Carousel-is-not-a-function/m-p/442114#M15483</guid>
      <dc:creator>nagar57</dc:creator>
      <dc:date>2019-06-26T07:26:55Z</dc:date>
    </item>
  </channel>
</rss>

