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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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