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