I have added a java script file, named 'dtformat.js' in my oracle apex application. The file was added inside the Static Application Files directory. I added the file in my page using the code
<script src="#APP_IMAGES#dtformat.js" type="text/javascript"> </script>
The console log shows an error,
Loading failed for the <script> with source “#WORKSPACE/r/140/files/static/v74/dtformat.js”. 1 f:471
Then I found something at the location of static files. The size of the uploaded file shows 833, all the other files show 100KB,21KB,300KB as the file size, but this file- dtformat.js shows 833 and not 833KB. KB is excluded. What might be causing this error?
The problem is the path: why #WORKSPACE
string is in the path?
#WORKSPACE/r/140/files/static/v74/dtformat.js