Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Confusion over referencing javascript files

$
0
0

CRM 2013 On-Premise

I have a HTML web resource and rather than put the javascript inline I thought I'd put it in a separate library and reference it....only I'm doing something wrong because the console is throwing a 404 not found when loading the script.

In the solution my resource shows this path (sterilized):

http://dynamics/MyOrg/WebResources/xxxx_jscriptFunctions

Now according to the sdk, online and looking at other developers working html resources it seems that this should work:

<script type="text/javascript" src="../scripts/jscriptFunctions.js"></script>

Grasping I've also tried:

<script type="text/javascript" src="../../xxxx_/scripts/jscriptFunctions.js"></script>

What am I doing wrong?


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>