Dashboards & Visualizations

Issues with AccountBar mode param

coleman07
Path Finder

I am trying to learn about Advanced XML and working thru the chapter "Build a Search View using Advanced XML" in the Developer's documentation. I created a very basic view and it doesn't work.

<view>
      <label>Test Search</label>
      <module name="AccountBar" layoutPanel="appHeader"/>
        <name="mode">lite</param>
</view>

I get the same header with or without the mode lite paramater. I thought this parameter would change the look of the top line of the window. When I add the showsource=true, I do not even see my param argument listed in the xml:

<view autoCancelInterval="90" isPersistable="true" isSticky="true" isVisible="true"    objectMode="viewconf" onunloadCancelJobs="true" template="search.html">
<label>Test Search /label>
<module name="AccountBar" layoutPanel="appHeader"/>
</view>

What am I doing wrong?

Tags (1)
0 Karma

Damien_Dallimor
Ultra Champion

Your XML is malformed :

<module name="AccountBar" layoutPanel="appHeader">
        <param name="mode">lite</param>
</module>
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 ...