Dashboards & Visualizations

Accessing a file inside an app in Search Head using URL

keerthana_k
Communicator

I am trying to access a swf component present in a custom module created by me. While using just the file name inside the object tag in HTML, I was unable to load it. Will I be able to access the file by providing the URL? If so, what is the URL I should use? I have tried using the following URL and I got 404 error:

http://SearchHeadIP:8000/splunkApp/en-US/app/MyApp/appserver/modules/MyModule/test.swf

Generally, I would like to know how to access a file inside an app using URL in the browser.

Tags (1)
0 Karma
1 Solution

keerthana_k
Communicator

We had to place the swf component inside the appserver/static folder of our app. Then we were able to access it as follows:

<object id='mySwf' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' height='100%' width='100%'>
<param name='src' value='/static/app/MyApp/flex/test.swf'/>
</object>

View solution in original post

0 Karma

keerthana_k
Communicator

We had to place the swf component inside the appserver/static folder of our app. Then we were able to access it as follows:

<object id='mySwf' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' height='100%' width='100%'>
<param name='src' value='/static/app/MyApp/flex/test.swf'/>
</object>
0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...