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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...