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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...