Dashboards & Visualizations

Web FrameWork - Access a django view within a standard app

SplunkTrust
SplunkTrust

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

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.

SplunkTrust
SplunkTrust

I should have found that 🙂

Many Thanks!

0 Karma