hi all,
i have a task to customize packaged apps from Splunkbase inside Splunk web(f.e. change visualization behavior).
I usually catch and edit the DOM tree in browser, but some things can be set in an easier way, via server side javascript. Moreover, any changes via npm run build comes to error, which is difficult to resolve. All documentations concerning developing apps do not put my mind in right way.
So the question is :
is it possible to refer to an app installed like an object in way like below?
require([
'underscore',
'jquery',
'splunkjs/mvc',
'my installed app',
'splunkjs/mvc/simplexml/ready!'],
function(_, $, mvc, my installed app){
reffer to my functions of app and change its behavior
})