Tag Info

Hot answers tagged

2

Depending on what you are using the html files for, you can try changing the extension. For example, call a file content.html.txt. One thing I store html files for is to link them to content editor web parts. In that case the extension doesn't matter.


2

I would suggest to use a simple IDE to develop your code. This IDE will help you by finding simple errors. A free example for a IDE is Visual Studio Code but there are loads of IDE's for you to choose. Here's the output if I paste your code: After knowing the simple errors fixing is not the problem - at least the ones caused by bad syntax.


1

Here are the sites you may want to read: CSR - Client Side Rendering The SharePoint 2013 programmers way http://www.viewmaster365.com/#/How Yes you can display HTML/Javascript without the need for CSR, in a Calculated Column How to use Today and Me in Calculated column How to display Today calculations in a View with JavaScript in Calculated Column (or ...


1

Apart from Re-usable content you can use a Content Editor WebPart (CEWP) Do not put any Content in it, but set the reference Link, it will execute the HTML (including script tags> from that file inline... depending on what to do you may want to wait till everything is loaded Content needs to come from an accesible location, so can span Site Collections. ...



Only top voted, non community-wiki answers of a minimum length are eligible