Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 95

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

  • eilishourigan Profile Picture
    eilishourigan 95 on at
    Re: Creating HTML document with links - links won't open (404 error)

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard