Archive
Highlighted

How can i access the document that are placed in static folder ?

Motivator

Hi ,

I have created an APP say "MYAPP" in splunk . Now i have interested to add an help document (pdf file ) in the static folder and make this file available to the users .How can i do this ?

i have copied my pdf file in static folder of my app "MYAPP" and i have used the following code in my view

<a href="myapp_help.pdf">click here to download help </a>

Please help..Is ter any way to achieve this..

thanks in advance..

Tags (1)
0 Karma
Highlighted

Re: How can i access the document that are placed in static folder ?

SplunkTrust
SplunkTrust

Here you go:

<a href="../../static/app/MYAPP/myapp_help.pdf">click here to download help</a>

the following docs page comes close, and you could probably figure it out from there too.

http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseHTML

It'd be nice if it just had a little section though. 😉

View solution in original post

Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.