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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...