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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...