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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...