All Apps and Add-ons

Sideview Utils Lookup Updater issue

lukeh
Contributor

Hi 🙂

I am using Sideview Utils 2.4 with Splunk 5.0.2 and I am having an issue with the Lookup Updater.

I have copied the update_lookup dashboard from the sideview_utils app and put it in my SplunkForMedia app and I can successfully update & delete rows, and add new rows. However when I try to re-upload a csv file, it redirects me to the update_lookup dashboard in the sideview_utils app:

I start here:

https://splunk/en-GB/app/SplunkForMedia/s4m_lookup_updater2#lookupName=group_elements.csv&autoRun=True

Click on the Reupload tab

Choose a new copy of the csv file

Click Update

It does upload the csv file successfully but it redirects to the sideview_utils app:

https://splunk/en-GB/app/sideview_utils/update_lookup?app=SplunkForMedia&lookupName=group_elements.csv&success=true&message=The%20group_elements.csv%20lookup%20has%20been%20successfully%20updated

The group_elements.csv lookup has been successfully updated

Is this a bug or is there a workaround to keep the user in the SplunkForMedia app when they Reupload a csv file?

Thanks in advance,

Luke 🙂

1 Solution

sideview
SplunkTrust
SplunkTrust

It's a bug. It's easy to fix. Sorry about that. 😃 I didn't specifically test the feature to make sure it would work after it had been airlifted over into another app.

What happens is that after the controller processes your POST, it does a redirect back to itself but it hardcodes the redirect back to "/app/sideview_utils/update_lookup" rather than redirecting back to the app and view the user was working from.

Again, it's really easy to fix and I'll get the fix into 2.4.1 which should come out in a week or two. Cheers and thank you for bringing this to my attention.

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

It's a bug. It's easy to fix. Sorry about that. 😃 I didn't specifically test the feature to make sure it would work after it had been airlifted over into another app.

What happens is that after the controller processes your POST, it does a redirect back to itself but it hardcodes the redirect back to "/app/sideview_utils/update_lookup" rather than redirecting back to the app and view the user was working from.

Again, it's really easy to fix and I'll get the fix into 2.4.1 which should come out in a week or two. Cheers and thank you for bringing this to my attention.

0 Karma

lukeh
Contributor

Thanks Nick 🙂

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...