All Apps and Add-ons

Does the NullModule still exist in Sideview Utils?

lemikg
Communicator

Hi,

just out of curiousity. I have seen NullModules used in some examples. Does that still exist in the current version?

Cheers
Mike

0 Karma
1 Solution

stefano_guidoba
Communicator

From the Registered Modules page:

Defined in $SPLUNK_HOME/share/splunk/search_mrsparkle/modules/static/NullModule.js

NullModule is not a SideView module.
Regards,
Stefano

View solution in original post

0 Karma

stefano_guidoba
Communicator

From the Registered Modules page:

Defined in $SPLUNK_HOME/share/splunk/search_mrsparkle/modules/static/NullModule.js

NullModule is not a SideView module.
Regards,
Stefano

0 Karma

lemikg
Communicator

thanks guys!

0 Karma

sideview
SplunkTrust
SplunkTrust

One other thing that NullModule was commonly used for, is attaching custom Javascript to the page. Since NullModule didn't do anything, it was easy to tack your own custom methods on it and use it for custom requirements. However it was very finicky how you would attach the script and in that aspect it's really superceded by the Sideview CustomBehavior module, which makes the same basic idea much more resilient and easier to deal with.

sideview
SplunkTrust
SplunkTrust

Yep. NullModule is not a Sideview module. NullModule is just a flavorless module that does nothing besides exist. Sometimes you need a module just to be there, either to take up a spot for some advanced reason, or to act as the single common parent for a bunch of modules that it has downstream.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...