Tag Info

New answers tagged

0

Nothing worked for me except this solution here: How to: resolve ‘Server Error: This file may not be moved, deleted … ‘ when working with SharePoint master page In case link is broken, below is the answer: SharePoint 2013 has an *.HTML file associated with each *.master and you’re really supposed to edit the *.HTML file and not touch the *.master. ...


0

Here is an explanation to achieve this: http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/ or here http://www.balestra.be/2010/01/write-html-code-in-sharepoint-via-calculated-columns.html idea is to create calculated column with multiple column of rich text. Also you should add javascript into content web editor of page ...


0

Problem is that this is SharePoints' way of storing metadata in your file. SharePoint also does this to your word files. This is desired behaviour.


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.


0

Knowing how difficult it is, navigating in SharePoint,we aimed to come-up with a solution too. Finally after months of efforts this weekend we have released FlyView that not only solves the breadcrumb issue but also offers a bunch of other helpful features too, to navigate SharePoint sites without involving a lot of page loads and 'working on it..' displays. ...


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. ...


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

Here's the "oldschool" way of doing it, which hopefully works accross all browsers. In theory you would use setAttribute unfortunately IE6 doesn't support it consistently var cssId = 'myCss'; // you could encode the css path itself to generate id.. if (!document.getElementById(cssId)) { var head = document.getElementsByTagName('head')[0]; var link ...


1

Maybe you can use the BASE tag <head> <base href="[url]"> </head> http://webdesign.tutsplus.com/articles/quick-tip-set-relative-urls-with-the-base-tag--cms-21399 http://stackoverflow.com/questions/1889076/is-it-recommended-to-use-the-base-html-tag


1

I'm afraid there is no other way than updating all the htm files. In SharePoint relative paths does not work that way, even if index.htm resides inside the Library.. href='page1.html' would simply mean rootsite/page1.htm Not even the inner site collection will be placed, that means if you have rootsite/sites/innersite/library/page1.htm and you refer it as ...


0

The other option can be to add a custom action (A scriptlink) Using SharePoint JSOM


0

The CssLink-Control is a server-side control. Jquery is only client-side, you can´t do that using jquery.



Top 50 recent answers are included