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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...