All Apps and Add-ons

How to make a shortcut to a page in an app from my own app?

corti77
Contributor

Hi,

I created a custom app for my company and I would like to create a menu with shortcuts to the most valuable dashboards of other apps installed.

In this case, I was trying to link a dashboard from Azure App
https://splunk.xxxx/en-US/app/microsoft_azure/aad_signin

I tried adding an entry in the file C:\Program Files\Splunk\etc\apps\MYAPP\local\data\ui\nav\default.xml

 

<nav search_view="search">
  <view name="search" default='true' />
  <view name="disk_monitoring" />
  <view name="analytics_workspace" />
  <view name="datasets" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
  <view name="azure_sign-in" />
</nav>

and I also created a view file (azure_sign-in.xml) in the path C:\Program Files\Splunk\etc\apps\MYAPP\local\data\ui\views

<shortcut>
    <label>Azure Sign-ins</label>
    <url>/en-US/app/microsoft_azure/aad_signin</url>
</shortcut>

 

After restarting Splunk, the menu's new option appears but nothing is shown when I click on it.

I looked for the view and change their permissions to All Apps, but still, nothing is shown.

what am I missing? Is this the right way to do it?

 

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @corti77,

you can use:

  <a href="/app/other_app/dashboard1">Dashboard Title</a>

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @corti77,

you can use:

  <a href="/app/other_app/dashboard1">Dashboard Title</a>

Ciao.

Giuseppe

gcusello
SplunkTrust
SplunkTrust

Hi @corti77,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

Get Updates on the Splunk Community!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...