All Apps and Add-ons

How to use the Sideview Utils updater tool to track activities by auto populating each event with two fields from a lookup.csv file?

hartfoml
Motivator

I would like to use the Sideview updater tool to keep track of activities.

The lookup.csv would have fields for each event. I would like to have two fields automatically populated for each line.

I would like to auto populate the date & time for each record and the user how it is entered in the record.

Is there any way to use the Sideview updater tool and have these two fields auto populated?

1 Solution

sideview
SplunkTrust
SplunkTrust

I looked into this and you would have to modify the code in update_lookup.js to accomplish this.

The key part, ie to actually prepopulate the given fields (I assume btw that you mean to prepopulate them whenever a user adds a new row) -- you'd have to add a customBehavior to the Multiplexed HTML module that represents the fields of the "Add New" form, and within that customBehavior implement the HTML module's optional "onHTMLRendered" method.

For the docs about customBehavior go to Tools > Other Tools and scroll to the bottom panel. And Sideview Utils itself has quite a lot of customBehaviors throughout that you can read as examples.

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

I looked into this and you would have to modify the code in update_lookup.js to accomplish this.

The key part, ie to actually prepopulate the given fields (I assume btw that you mean to prepopulate them whenever a user adds a new row) -- you'd have to add a customBehavior to the Multiplexed HTML module that represents the fields of the "Add New" form, and within that customBehavior implement the HTML module's optional "onHTMLRendered" method.

For the docs about customBehavior go to Tools > Other Tools and scroll to the bottom panel. And Sideview Utils itself has quite a lot of customBehaviors throughout that you can read as examples.

0 Karma

hartfoml
Motivator

Thanks Much Nick for looking into this for me.

I will give it a whirl and se how it comes out. I have never done customBehaviors before. Thanks again for your time.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...