All Apps and Add-ons

How to set the panel title from a drilldown click value?

cwhurd1
New Member

Hi,

I am having an issue with an ...

I have a drill down dashboard that is opening off of a click from a separate dashboard. I am using form.function=$click.value2$ carry the form.function variable to the new dashboard. This is working except for in my panel title.

My code is below:

<init>
    <set token="function">$form.function$</set>
  </init>

  <row>
    <panel>
      <title>$function$</title>

My panel title is coming up as $form.function$ rather than the value of the token $form.function$. Again, the value of $form.function$ is working everywhere else within the dashboard. I can not figure out why my code is not working???

Thanks,

0 Karma

aletmp
New Member

Hi,

I have exactly the same problem. Anyone was able to achive this?

0 Karma

niyaz006
Path Finder

Did you try using $form.function$ in the panel title?

<title>$form.function$</title>
0 Karma

cwhurd1
New Member

In the above question for some reason my init tag is being emitted,

0 Karma

ppablo
Retired

Hi cwhurd1

If you're ever sharing sample data or code, be sure to highlight it and click the Code Sample button in the text editing tools. This will help make sure all special characters render properly on the site. Otherwise things like angle brackets are treated as HTML tags.

Thanks and I hope that helps.

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