<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to display navigation menus in custom app? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439417#M28968</link>
    <description>&lt;P&gt;Can you repost your XML using the code tool which looks like &lt;CODE&gt;101010&lt;/CODE&gt; as you can see the content is missing presently.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 14:37:54 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2019-03-13T14:37:54Z</dc:date>
    <item>
      <title>How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439416#M28967</link>
      <description>&lt;P&gt;Hello everyone, &lt;/P&gt;

&lt;P&gt;I'm having some trouble displaying navigation menus on my first attempt at creating an app. What I'm trying to do is quite simple, all I want is to be able to put links to each of my dashboards in the navigation bar of the app.&lt;/P&gt;

&lt;P&gt;I have created the some dashboards, which are titled:&lt;BR /&gt;
Admin Account Activity&lt;BR /&gt;
External Devices&lt;BR /&gt;
Firewalls&lt;BR /&gt;
HIGH Criticality Events&lt;BR /&gt;
Initial Checks&lt;BR /&gt;
Logon Activity&lt;BR /&gt;
Logon Types&lt;BR /&gt;
Process Trees&lt;BR /&gt;
Programme Installations&lt;/P&gt;

&lt;P&gt;I want to display all of these dashboards in the navigation bar.... When I use the following as the default navigation menu xml:&lt;/P&gt;

&lt;P&gt;All of the dashboards appear in the navigation bar, all are accessible, and all load correctly when selected but, they appear in a totally random order.&lt;/P&gt;

&lt;P&gt;When I try to specifically name each dashboard so as to put them in the order I want using the following xml:&lt;/P&gt;

&lt;P&gt;Only links to Logon Types, Firewalls, and Process Trees will appear in the navigation menu. None of the other dashboards are visible.&lt;/P&gt;

&lt;P&gt;All permissions are set to global for the dashboards and the panels, they all appear when I use the  command.....but I can't understand why some appear and some don't when I try to name them.&lt;/P&gt;

&lt;P&gt;Any help would be very much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 13:54:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439416#M28967</guid>
      <dc:creator>richkind2620</dc:creator>
      <dc:date>2019-03-13T13:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439417#M28968</link>
      <description>&lt;P&gt;Can you repost your XML using the code tool which looks like &lt;CODE&gt;101010&lt;/CODE&gt; as you can see the content is missing presently.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 14:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439417#M28968</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-13T14:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439418#M28969</link>
      <description>&lt;P&gt;thanks nickhillscpl I was just trying to work out how to paste the code back into my question.&lt;/P&gt;

&lt;P&gt;so...the code I used to display all of the dashboards was :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;nav search_view="search"&amp;gt;
  &amp;lt;view name="search" /&amp;gt;
  &amp;lt;view source="all" /&amp;gt;
 /nav&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and they all appear....but in a random order&lt;/P&gt;

&lt;P&gt;when I name them in the xml as per:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;view name="search" /&amp;gt;
  &amp;lt;view name="initial_checks" /&amp;gt;
  &amp;lt;view name="high_criticality_events" /&amp;gt;
  &amp;lt;view name="logon_activity" /&amp;gt;
  &amp;lt;view name="logon_types" /&amp;gt;
  &amp;lt;view name="firewalls" /&amp;gt;
  &amp;lt;view name="process_trees" /&amp;gt;
  &amp;lt;view name="admin_account_activity" /&amp;gt;
  &amp;lt;view name="external devices" /&amp;gt;
  &amp;lt;view name="programme_installations" /&amp;gt;
  &amp;lt;/nav&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;only Logon Types, Firewalls, and Process Trees show in the navigation bar, all the others don't appear.&lt;/P&gt;

&lt;P&gt;I know I must be missing something simple but, I just can't see what!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 14:48:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439418#M28969</guid>
      <dc:creator>richkind2620</dc:creator>
      <dc:date>2019-03-13T14:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439419#M28970</link>
      <description>&lt;P&gt;It might be a copy/paste error, but your second paste is missing the opening &lt;CODE&gt;&amp;lt;nav search_view="search"&amp;gt;&lt;/CODE&gt; tag&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 14:54:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439419#M28970</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-13T14:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439420#M28971</link>
      <description>&lt;P&gt;yes, I just copied the actual part of the code where I was naming the dashboards, full xml saved in the app is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;nav search_view="search"&amp;gt;
      &amp;lt;view name="search" /&amp;gt;
      &amp;lt;view name="initial_checks" /&amp;gt;
      &amp;lt;view name="high_criticality_events" /&amp;gt;
      &amp;lt;view name="logon_activity" /&amp;gt;
      &amp;lt;view name="logon_types" /&amp;gt;
      &amp;lt;view name="firewalls" /&amp;gt;
      &amp;lt;view name="process_trees" /&amp;gt;
      &amp;lt;view name="admin_account_activity" /&amp;gt;
      &amp;lt;view name="external devices" /&amp;gt;
      &amp;lt;view name="programme_installations" /&amp;gt;
      &amp;lt;/nav&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:00:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439420#M28971</guid>
      <dc:creator>richkind2620</dc:creator>
      <dc:date>2019-03-13T15:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439421#M28972</link>
      <description>&lt;P&gt;Your XML looks good.&lt;/P&gt;

&lt;P&gt;Splunk will only show Items in the nav menu if it can find a panel in the &lt;STRONG&gt;same application&lt;/STRONG&gt; with exactly the same dashboard ID as specified in the XML.&lt;/P&gt;

&lt;P&gt;Can you confirm that all the dashboards are in the same app, and are named exactly the same as they appear in /en-GB/manager/[YOUR_APP]/data/ui/views ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439421#M28972</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-13T15:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439422#M28973</link>
      <description>&lt;P&gt;hello nickhillscpl, so I checked as per your advice and all of the dashboards I wanted to use were showing as being in the app I'm using. &lt;/P&gt;

&lt;P&gt;I looked in the data/ui/views folder and some of the xml files were indeed named differently. When I originally built some of the dashboards I used a different name e.g. my dashboard 'initial checks' was originally named 'Statistical Overview' so although I edited the name of the dashboard via splunk web, the name of the xml file was the original name.&lt;/P&gt;

&lt;P&gt;I've just renamed the Statistical Overview xml file to Initial Checks and it's appeared in the navigation bar. So you've fixed the problem.&lt;/P&gt;

&lt;P&gt;Thanks for taking the time to help me with this nickhillscpl, it's very much appreciated. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 16:02:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439422#M28973</guid>
      <dc:creator>richkind2620</dc:creator>
      <dc:date>2019-03-13T16:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to display navigation menus in custom app?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439423#M28974</link>
      <description>&lt;P&gt;You're welcome and good luck. Feel free to upvote too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 16:05:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-navigation-menus-in-custom-app/m-p/439423#M28974</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-13T16:05:27Z</dc:date>
    </item>
  </channel>
</rss>

