Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Creating HTML document with links - links won't open (404 error)

I am creating a html file and storing it on SharePoint.

The html files contains links to Microsoft Forms.

All works fine but when I open the html file and click on the links they don't open.

If I copy the link and paste it in another tab it works fine.


In the developer tab in Edge I am getting the following error:


Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.


I've tried adding a target attribute to the A tag but it gives the same error. 


The aim of the script is to make these links available to other users on SharePoint - I figured a html doc was the best solution but open to other suggestions.  Thanks

Helper II
Helper II

Workaround - I used the Populate a Word Template function instead - couldn't manage to create links in it but I have the URLs listed in there at least

Helpful resources

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (78,794)