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!

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, ...