Dashboards & Visualizations

How to add multiple scripts in a form/dashboard?

mbschriek
Explorer

How can I add multiple scripts to a form? When I use the following line of code, the following error occurs:

Attribute script redefined

<form script="ita_infobutton:infobutton.js" script="cookie.js">
1 Solution

kschaul
Engager

You can just add multiple scripts in between the double quotes, like the following:

< dashboard script="ita_infobutton:infobutton.js, ita_infobutton:script2.js" stylesheet="ita_infobutton:infobutton.css" >

View solution in original post

kschaul
Engager

You can just add multiple scripts in between the double quotes, like the following:

< dashboard script="ita_infobutton:infobutton.js, ita_infobutton:script2.js" stylesheet="ita_infobutton:infobutton.css" >

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...