Sharepoint Document Library Html Preview

Copper Contributor

Sharepoint Document Library Html Preview.

We manually uploaded some static HTML files to the document library, and added some links in the HTML. These links may jump to other websites. When I open the page preview and click the link, the page jumps to other paths, but no corresponding screen is displayed. The console prompts an error: blocked script execution in '< URL >' because the document's frame is Sandboxed and the 'allow scripts' permission is not set.I notice that our pages are opened in iframe format when previewing, which leads to some security policies of the page preventing us from loading other pages. Is there any other way to solve this problem.

0 Replies