Not able to add script reference in configuration page in crm 2011 RRS feed

  • Question

  • Hi have created a crm 2011 Package project and added the one script file, one HTML page and one css file and deployed the solution on crm solution that have prefix new_

    I am trying to add the reference of script fine and css on my HTML page but it is giving the error as web resource not found.

    Wednesday, September 25, 2013 6:20 AM

All replies

  • Hi,

    Did you try by manually creating CSS and then HTML file in CRM? After that you can refer the style sheet using Relative URL.


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

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

      <link rel="stylesheet" type="text/css" href="../Config.css" /> 



    Wednesday, September 25, 2013 6:42 AM
  • Hi KalimK,

    I have created a  custom solution. In that solution created a script file and html page. both have now prefix.

    new_test.htm , new_test2.js

    on html page as you mention i have refered the javascript file like

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

    it is not working.  How to check he relative path of my script file.

    Wednesday, September 25, 2013 7:32 AM
  • Did you try using just

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

    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Wednesday, September 25, 2013 8:41 AM
  • Hi,

    In the above reply I have just provided example. Please try below. It depends upon the name of your HTML file in which you want to refer the JavaScript. Any one of the below should work?

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


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

    Refer below blog for directory structure that should be followed.



    • Edited by Kalim Khan Wednesday, September 25, 2013 9:12 AM
    Wednesday, September 25, 2013 8:58 AM