Archive
Highlighted

Change dashboard name in App

Communicator

Hi, i created an app using an existing dashboard. In myApp/default/data/ui/nav/default.xml:

<nav color="#d15c34">
  <collection label="Web Statistic">
    <view name="my)web_statistics_20170109_dashboard" default='true'>
      <label>Web Statistics</label>
    </view>
  </collection>
</nav>

I tried to my label in collection and view tags but the app keeps displaying "mywebstatistics20170109dashboard". Can I change this name without renaming my dashboard?
Sorry for the newbie question.

Thanks and regards,
/ST Wong

Tags (1)
0 Karma
Highlighted

Re: Change dashboard name in App

Legend

Try the following. You had a typing mistake after my). Also I have put true under double quotes and removed label node. From Dashboard Name Splunk will pick up Dashboard label on its own.

<nav color="#d15c34">
   <collection label="Web Statistic">
     <view name="my_web_statistics_20170109_dashboard" default="true"/>
   </collection>
 </nav>

Refer to http://dev.splunk.com/view/webframework-developapps/SP-CAAAEP9 or http://docs.splunk.com/Documentation/Splunk/6.4.5/AdvancedDev/BuildNavigation




| eval message="Happy Splunking!!!"


0 Karma
Highlighted

Re: Change dashboard name in App

Communicator

Thanks, I tried this in my first attempt but no luck.

0 Karma
Highlighted

Re: Change dashboard name in App

Legend

Click on Edit Source for your Dashboard and you should see View Name with underscore name in it. It should be same as what is there in Navigation XML i.e. mywebstatistics20170109dashboard

Seems like in your case the view name is different. Can you check and correct your Navigation XML accordingly?

You can also access the View Name from Settings --> User Interface --> Views




| eval message="Happy Splunking!!!"


0 Karma
Highlighted

Re: Change dashboard name in App

Communicator

Got it and thanks. Too bad that there is naming convention in our shop that I've to follow, and thus I'm not allowed to modify the dashboard name.... Even if I clone one, I still have to keep the original name... :-S

Rgds,
/ST

0 Karma
Highlighted

Re: Change dashboard name in App

Legend

Hi stwong,
you can change the name of your dashboard cloning it, you can change the title of your dashboard using the Name change function if the dashboard menu.
Bye.
Giuseppe

0 Karma
Highlighted

Re: Change dashboard name in App

Communicator

Thanks, but we try to minimize number of dashboards to maintain.

0 Karma
Highlighted

Re: Change dashboard name in App

Legend

if your need is only to change name to a dashboard, you can clone it in a new one (with you name you like) and delete the original.
Bye.
Giuseppe

0 Karma
Highlighted

Re: Change dashboard name in App

Communicator

Got it and thanks. Too bad that there is naming convention in our shop that I've to follow, and thus even I clone one, I still have to keep the original name... :-S

Bye,
/ST

0 Karma