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!

.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 ...