04-09-2023, 10:44 PM
(This post was last modified: 04-09-2023, 11:00 PM by Alexandre Machado.)
I see what you mean your template contains the links, you are not adding them using those methods from PageContext or IWForm. Try to reference your files like this:
<script src="../wwwroot/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
Please notice that I included "../wwwroot" in front of your existing path
IntraWeb template processor always looks for 2 "special" strings in paths of files when processing the template: "../wwwroot" and "../files/"
They both will be replaced when the final HTML is generated. In a simplified way:
../wwwroot -> when your wwwroot folder is under the application folder, IW template processor will replace ../wwwroot by the URL base. In case of ISAPI, it will be something like <Web application alias or name>/<ISAPI dll name>
../files/ -> will be replaced by <URL base>/files/
<script src="../wwwroot/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
Please notice that I included "../wwwroot" in front of your existing path
IntraWeb template processor always looks for 2 "special" strings in paths of files when processing the template: "../wwwroot" and "../files/"
They both will be replaced when the final HTML is generated. In a simplified way:
../wwwroot -> when your wwwroot folder is under the application folder, IW template processor will replace ../wwwroot by the URL base. In case of ISAPI, it will be something like <Web application alias or name>/<ISAPI dll name>
../files/ -> will be replaced by <URL base>/files/

