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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...