Dashboards & Visualizations

Adding a button in a each row of a table

PATAN
Observer

I would like to add a button in a each row of a table. Once I click on the button it should create an incident from service now. How can we achive it by using javascript , html, css and xml. 

 

Thanks in advance

Labels (4)
Tags (1)
0 Karma

tscroggins
Influencer

Hi @PATAN,

Is this a Splunk-specific question or a general web and ServiceNow development question? For Splunk, start with https://dev.splunk.com/enterprise/docs/devtools/javascript/sdk-javascript/. The old Building Splunk Solutions books are still useful but quite dated at this point.

Depending on your specific use case, you may already have the functionality you need available in simpler forms. For example, Splunk Add-on for ServiceNow includes commands and workflow actions to create ServiceNow events and incidents.

What do you have so far?

0 Karma

PATAN
Observer

Can you please share the sample code to create button in a each row of the table? For suppose I have 10 rows I need to put 10 buttons in the same table

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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