Hi SharePoint Experts,
I would like to run custom CSS and JavaScript on my SharePoint page in my corporate intranet. I want to write my own application that reads from and writes to SharePoint Lists. I successfully wrote some HTML, CSS, and JavaScript on my personal computer. Of course, I was not able to interact with SharePoint from my personal computer.
I rewrote HTML, CSS, and JavaScript on my work computer and uploaded that to our server version of SharePoint 2013 (not SharePoint online). This did not work. I put the address of the HTML page in my content editor Web part. It displayed the HTML page with no CSS formatting and did not run the JavaScript when I clicked the button. I think my teams site does not allow CSS or JavaScript to be executed probably for security reasons.
While there could be a number of reasons why the CSS and JavaScript did not work on my page such as possibly not referencing CSS and JavaScript code correctly, I would like to hone in on the scenario where an administrator is not allowing CSS or JavaScript to run in my site. I would like to be able to tell an administrator just what I need him/her to do in order to make CSS and JavaScript work on my page. Dou know if there is a switch or some configuration change that needs to be in place before CSS and JavaScript can be implemented on my site? Is there a specific permission I must have in order to make the CSS and JavaScript work on my site?
Thanks
I would like to run custom CSS and JavaScript on my SharePoint page in my corporate intranet. I want to write my own application that reads from and writes to SharePoint Lists. I successfully wrote some HTML, CSS, and JavaScript on my personal computer. Of course, I was not able to interact with SharePoint from my personal computer.
I rewrote HTML, CSS, and JavaScript on my work computer and uploaded that to our server version of SharePoint 2013 (not SharePoint online). This did not work. I put the address of the HTML page in my content editor Web part. It displayed the HTML page with no CSS formatting and did not run the JavaScript when I clicked the button. I think my teams site does not allow CSS or JavaScript to be executed probably for security reasons.
While there could be a number of reasons why the CSS and JavaScript did not work on my page such as possibly not referencing CSS and JavaScript code correctly, I would like to hone in on the scenario where an administrator is not allowing CSS or JavaScript to run in my site. I would like to be able to tell an administrator just what I need him/her to do in order to make CSS and JavaScript work on my page. Dou know if there is a switch or some configuration change that needs to be in place before CSS and JavaScript can be implemented on my site? Is there a specific permission I must have in order to make the CSS and JavaScript work on my site?
Thanks
Thanks