Skip to main content
6 votes
Accepted

Can no longer stay on my home page

Open the page in web part maintenance mode. To access the Web Part Maintenance Page for a page that is not stored in a document library, such as the site home page, append ?Contents=1 to the ...
Aziz Kabyshev's user avatar
3 votes

Hiding the Ribbon in an IFrame

Please try to append the stylesheet into iFrame using below code. It actually works for me before in one solution. function setFrameStyle() { $('iframe').load( function() { $('iframe')....
Hardik's user avatar
  • 7,733
2 votes

Hiding the Ribbon in an IFrame

I was having same issue when i need to set CSS color for some element and it was over written with default CSS. So I just used some tricky way for that. Please try following code once and let me ...
Aakash Maurya's user avatar
2 votes
Accepted

Page Viewer Web Part will not work when i access my SharePoint sites using https

A Page Viewer webpart is nothing more than an IFRAME. loading HTTP content in an HTTPS site is a security risk so it is not allowed. You can try adding a HTTPS proxy, or a using IIS URL Rewriting on ...
Colin's user avatar
  • 4,665
2 votes
Accepted

SP 2010: Open document in a new tab from PageViewer WebPart

Add a content editor webpart to your document library and insert the following code into it. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js" type="text/javascript"&...
Ramana Viswanadha's user avatar
1 vote

How to link folder in page viewer web part

Considering Home is your folder name which you need to set in page viewer webpart try below url: https://learning.company.com/sites/dashboard/SiteAssets/Home This should work well with your Page ...
Gaurravs's user avatar
  • 3,556
1 vote

Why page viewer web part is showing error("This content cannot be displayed in a frame") while using external site link in sharepoint 2016 site?

You can try adding the below tag into the aspx page which was mapped with the Client Web Part. <WebPartPages:AllowFraming runat="server"/> Source: This content cannot be displayed in a frame ...
SP 2022's user avatar
  • 4,084
1 vote
Accepted

How do I open a Word document in a web part

Follow below steps to achieve this: Go to your SharePoint page. Add web part from : Media and Content > Page Viewer Web Part > Insert Edit web part properties. Keep web part settings as "Web Page"(...
Ganesh Sanap - MVP's user avatar
1 vote

Error: This content can't be shown in a Frame?

The owner of the "framed" content has added JavaScript to detect it is being loaded in a frame. You may need to add a link that when clicked opens their content in a new window or tab. They probably ...
Mike Smith - MCT's user avatar
1 vote

Changing Links in Page Viewer

What do you mean about "One of the links is outdated"? Where is the link? Is it a link display in the page viewer web part? Or it is the link of the page viewer web part? If it is the link of the web ...
imp. MSFT's user avatar
  • 1,321
1 vote

Page viewer web part with IP cam views

Does it have to be the camera image that must be clicked? You can specify a URL to go to when the web part title is clicked. Edit the web part properties and look under the Advanced section, for ...
mannaggia's user avatar
  • 999
1 vote
Accepted

How do I hide Ribbon in Page Viewer WP, but not the default one?

Edit your DispForm.aspx and add content editor web part (or script editor). Put the following script inside: _spBodyOnLoadFunctions.push(function(){ if(getParameterByName('hide')){ ...
Sergei Sergeev's user avatar
1 vote

Change Columns in Page Viewer Web part

The Page viewer web part works by displaying the specified page inside an Iframe, so whatever it displays is just the content of the original page you point it to. This means that to change the ...
Mohamed El-Qassas MVP's user avatar
1 vote

SP2010 - Dynamically resize Page Viewer web-part based on content size

You can user below script in ScriptEditor webpart below your Page Viewer WebPart to make show it in full page view. <script language=”javascript”> var a = MSO_ContentTable.getElementsByTagName(“...
Hardik's user avatar
  • 7,733

Only top scored, non community-wiki answers of a minimum length are eligible