...tatic and tried to use RequireJS (the first calls " define(...) " function, and the second calls " require(['./first'], ...) " function). But all I get is a "Script error" in the JS console.
Is t...
TL/DR: A custom cell renderer only works after using table pagination or column sorting controls, but it seems related to loading appserver/static code with require.
I am attempting to add a custo...
Hi, we're trying to import sheetjs into a custom SplunkJS script so we can export some results into xlsx. Tried to add it in the required section at the begining of the script but is not working.
...
...dd additional JS files apart from the setup_page.js .
In the setup_page.js , I have included the files as requireJS demands:
require.options( {
paths: {
myapp: "../app/myapp/j...
...vc = require('splunkjs/mvc');
var SimpleSplunkView = require('splunkjs/mvc/simplesplunkview');
...
...
This is the error displayed on the console:
Script error for: d3.js http://requirejs...
I have a drilldown link coded in Javascript that opens the link from a dataset field value (field 'link' in example below):
// RequireJS dependency handling
require (["splunkjs/mvc",
"s...
...pt/splunk/etc/apps/biz_svc_insights/appserver/static/node_modules/requirejs/bin/r.js is importing the following dependencies which are not supported or externally documented by Splunk. requirejs...
I'am trying to load a css dynamically in my Javascript. This should be fairly simple, but Splunk's imaginary folder makes it impossible to achieve.
So the path for any file in the static folder be...