Dashboards & Visualizations

basic form giving error: "NotImplementedError: Cannot find object mapper for panel type: form"

aadye
Explorer

I'm new to Splunk and using version 4.2.5 and trying to generate simple form, I receive the error: "NotImplementedError: Cannot find object mapper for panel type: form"

Could someone please shed some light for me?

My code is:
<?xml version='1.0' encoding='utf-8'?>

<dashboard>

<label>Testing with Pulldowns</label>

<row>

<form>

<label>Username</label>

<searchTemplate>

source=/path/to/alldata2.csv | search region = $region$

</searchTemplate>

<fieldset>

<input type="text" token="region" />

</fieldset>

<row>

<event>

<option name="count">100</option>

</event>

</row>

</form>

</row>

</dashboard>

</code>

Tags (1)
0 Karma
1 Solution

Drainy
Champion

Well a dashboard and a form are very different in the simple xml world, you've defined a dashboard and then tried to define a form inside of it. Just replace your tags with

tags and delete the other ones. e.g.

<?xml version='1.0' encoding='utf-8'?>
<form>
<label>Testing with Pulldowns</label>
<row>

View solution in original post

0 Karma

Drainy
Champion

Well a dashboard and a form are very different in the simple xml world, you've defined a dashboard and then tried to define a form inside of it. Just replace your tags with

tags and delete the other ones. e.g.

<?xml version='1.0' encoding='utf-8'?>
<form>
<label>Testing with Pulldowns</label>
<row>
0 Karma
Get Updates on the Splunk Community!

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...