Sharepoint Document Library Html Preview

%3CLINGO-SUB%20id%3D%22lingo-sub-1965755%22%20slang%3D%22en-US%22%3ESharepoint%20Document%20Library%20Html%20Preview%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1965755%22%20slang%3D%22en-US%22%3E%3CP%3ESharepoint%20Document%20Library%20Html%20Preview.%3C%2FP%3E%3CP%3EWe%20manually%20uploaded%20some%20static%20HTML%20files%20to%20the%20document%20library%2C%20and%20added%20some%20links%20in%20the%20HTML.%20These%20links%20may%20jump%20to%20other%20websites.%20When%20I%20open%20the%20page%20preview%20and%20click%20the%20link%2C%20the%20page%20jumps%20to%20other%20paths%2C%20but%20no%20corresponding%20screen%20is%20displayed.%20The%20console%20prompts%20an%20error%3A%20blocked%20script%20execution%20in%20'%26lt%3B%20URL%20%26gt%3B'%20because%20the%20document's%20frame%20is%20Sandboxed%20and%20the%20'allow%20scripts'%20permission%20is%20not%20set.I%20notice%20that%20our%20pages%20are%20opened%20in%20iframe%20format%20when%20previewing%2C%20which%20leads%20to%20some%20security%20policies%20of%20the%20page%20preventing%20us%20from%20loading%20other%20pages.%20Is%20there%20any%20other%20way%20to%20solve%20this%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1965755%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Visitor

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