Refine your search:

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?

asked 04 Jun '12, 17:41

coleman07's gravatar image

coleman07
504
accept rate: 100%

edited 04 Jun '12, 18:00


One Answer:

Your XML is malformed :

<module name="AccountBar" layoutPanel="appHeader">
        <param name="mode">lite</param>
</module>
link

answered 04 Jun '12, 20:26

Damien%20Dallimore's gravatar image

Damien Dalli...
4.6k2313
accept rate: 23%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×275

Asked: 04 Jun '12, 17:41

Seen: 317 times

Last updated: 04 Jun '12, 20:26

Copyright © 2005-2012 Splunk Inc. All rights reserved.