Script stopped working on Sharepoint

1

I have a problem that I think is very unusual, within Sharepoint Online in the Site Pages folder I created a new one and called it a Dashboard. In the Dashboard I inserted a content webpart and I placed an html code and a call to a load a script that is in another folder in the same site.

The html works normal and when it is in page edit mode the script works, however, when I quit it does not work anymore. Have I tried everything and can not find the reason, some help?

    
asked by anonymous 24.03.2014 / 14:17

1 answer

3

Well after so much research I discovered that my problem was in relation to a Sharepoint feature called "Minimal Download Strategy" which redirects the url I'm using to another to optimize execution. What I needed to do in the end was simple, just get into:

Site Settings > Manage site features > Minimum Download Strategy (Disable).

This made it possible for the script to run normally. More information on the link below where I discovered the solution:

link

    
25.03.2014 / 19:11