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!

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...