Splunk Search

Insert an icon in the setup.xml page

alauri
Explorer

Hi all,

I'm trying to insert the logo (the appIcon.png logo of my add-on) inside the setup.xml page as the first child of formWrapper div.
Is it possible? If it's possible, what is the best way to perform this task?

Thanks in advance!

Tags (3)
0 Karma
1 Solution

alauri
Explorer
var formWrapper_div = $(this).find("div.formWrapper");
$(formWrapper_div).prepend('<img id="logo" src="/static/app/<appname>/appIcon.png" />');

inside the application.js file.

View solution in original post

0 Karma

alauri
Explorer
var formWrapper_div = $(this).find("div.formWrapper");
$(formWrapper_div).prepend('<img id="logo" src="/static/app/<appname>/appIcon.png" />');

inside the application.js file.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...