Dashboards & Visualizations

Web FrameWork - Access a django view within a standard app

guilmxm
Influencer

Hi,

Iv'e create a very cool view using the all new Web Framework but i can't get to understand how to access from it within my standard application

What the good way to achieve this ? My goal is to reference my new django view (which works accessing the dj URL) within my app's homepage (URL Link and Nav bar)

My dj view URL

dj/en-us/MYAPP/UI_Collect_Analysis

My standard URL

en-US/app/MYAPP/Home

I've read the doc still can't get the trick...! (modifying urls.py ? views.py ?)

Thanks a lot!

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

That should work through the regular navigation menu (Settings -> UI -> Navigation Menus). Looking at the Web Framework Toolkit, it uses this

<collection label="Examples">
  <a href="/dj/redirector/splunk_wftoolkit/dashboarddj">Dashboard in Django</a>
  <...>
</collection>

to refer to a Django dashboard accessible under dj/en-us/splunk_wftoolkit/dashboarddj.

guilmxm
Influencer

I should have found that 🙂

Many Thanks!

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...