# Dashboard - different titles depending on condition?

**URL:** <https://discuss.elastic.co/t/dashboard-different-titles-depending-on-condition/25502>\
**Category:** Kibana\
**Created:** [July 14, 2015, 6:48am UTC](https://discuss.elastic.co/t/dashboard-different-titles-depending-on-condition/25502 "2015-07-14T06:48:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcelHallmann](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MarcelHallmann](https://discuss.elastic.co/u/MarcelHallmann)\
**Post date:** [July 14, 2015, 6:48am UTC](https://discuss.elastic.co/t/dashboard-different-titles-depending-on-condition/25502/1 "2015-07-14T06:48:41Z")

</div>

Hi,

is it possible to have different titles in json dashboards / panels depending on a condition?

Here is a small, stripped example:

```
{
"title": "My Dashboard",
"services": {...},
"rows": [
{
"title": "Main"
}
]
}

```

What I would like to have get the information of the title "My Dashboard" from a Javascript funtion to store there some logic (the title can have some differences depending on the system state).  
Something like:

```
{
"title": determineDashboardTitle(),
"services": {...},
"rows": [
{
"title": "Main"
}
]
}

```

Is this possible?

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 14, 2015, 12:47pm UTC](https://discuss.elastic.co/t/dashboard-different-titles-depending-on-condition/25502/2 "2015-07-14T12:47:25Z")

</div>

I believe, in Kibana 3, your only options are templated dashboards, where you are limited to using inline handlebar syntax ([example](https://github.com/elastic/kibana/blob/3.0/src/app/dashboards/logstash.json)), and fully scripted dashboards, which return the whole dashboard object ([example](https://github.com/elastic/kibana/blob/3.0/src/app/dashboards/logstash.js)).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:16pm UTC](https://discuss.elastic.co/t/dashboard-different-titles-depending-on-condition/25502/3 "2017-07-06T14:16:36Z")

</div>


