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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...