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!

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

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

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...