All Apps and Add-ons

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

corti77
Communicator

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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...