Hi guys,
I installed my own instance on Windows. I had some javascript files that will improve my look and field as a visual carousel for single panels ( e.g: https://www.splunk.com/en_us/blog/tips-and-tricks/animate-simplexml-dashboard-elements-with-a-carous... ).
In my instance, everything is working fine! When I had tried to apply also into the production (Apache Server) in the console appear this error: Failed to load resource: the server responded with a status of 404 (Not Found) https://splunk-euops.internal.vodafone.com/en-US/static/js/lib/jquery.cloud9carousel.js
In my carousel.js from 'opt/splunk/etc/apps/app/vf_euops_reporting/appserver/static' I have the following path:
require([
'underscore',
'jquery',
'splunkjs/mvc',
'splunkjs/mvc/simplexml/ready!',
'/static/app/vf_euops_reporting/js/lib/jquery.cloud9carousel.js'
], function(_, $, mvc, Carousel) {
....
I have tried to change the path to:
'js/lib/jquery.cloud9carousel.js'
'app/vf_euops_reporting/js/lib/jquery.cloud9carousel.js'
'/static/app/vf_euops_reporting/js/lib/jquery.cloud9carousel.js'
and none working....
But If I add in the URL after the static '/app/vf_euops_reporting' (this is the APP where I would like to install) https://splunk-euops.internal.vodafone.com/en-US/static/app/vf_euops_reporting/js/lib/jquery.cloud9c... it will found...
Any suggestions, please?
Thank you in advance!