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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...