The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [iframe]

An inline frame is used to embed another document within the current HTML document.

Filter by
Sorted by
Tagged with
14
votes
8answers
21k views

Display SharePoint Online in an iframe on different domain

We would like to display pages from SharePoint Online in an iframe of a Page hosted somewhere else, e.g. in an Azure Web App: <iframe src="https://site.sharepoint.com/"></iframe> When we ...
13
votes
5answers
67k views

Is there a way to disable X-FRAME-OPTIONS response header, or at least modify it?

I want to embed my sharepoint 2013 pages in another document, but the X-FRAME-OPTIONS are set to SAMEORIGIN by default. Adding ALLOW-FROM url does not work when added to the web.config OR on specific ...
8
votes
3answers
263 views

Isolated (per page) App Part communication

Many of you may know this blog post which explains how to communicate between app parts (from the same provider). Unfortunately the post only describes how to communicate between "all app parts of ...
8
votes
1answer
2k views

How to call the Sharepoint REST API from an external website(IFrame)

I've been trying to do a simple GET REST call from an external website (Dynamics CRM) to a SharePoint Online site. All I want is to list the files from that SharePoint Online folder into an IFrame on ...
7
votes
3answers
50k views

How can I configure x-frame-options: allow-from on my sharepoint installation?

I want to show some content from Sharepoint in IFRAME. From some research, I come to know that specific setting for X-FRAME-OPTIONS in HTTP Header prevents rendering in iframes. How can I use ALLOW-...
5
votes
2answers
9k views

SharePoint removes iframe source from content editor randomly

I have content editor web part in which I am using iframe to display data from some other site. The iframe code is pretty simple such as: <iframe src="http://www.stackoverflow.com"></iframe&...
5
votes
3answers
3k views

SharePoint Web Part from App that is NOT in another domain or inside an iFrame?

We created SharePoint Hosted App that offers a Web Part we can add to SharePoint 2013 pages. The problem is that web part installs as an iframe pointing to the apps domain. Two challenges in ...
5
votes
1answer
1k views

SharePoint in an IFrame

I am trying to embed SharePoint in an Iframe of an html page. I did some research and found out I had to embed: <WebPartPages:AllowFraming runat=”server” /> into the master page of SharePoint. ...
3
votes
3answers
28k views

How to embed Word and PDF documents in pages

I am trying to embed Word (DOC, DOCX) and PDF documents in a page but getting into trouble. When I embed PDF document using IFRAME or OBJECT tag then the document displays fine on Chrome but on IE8 ...
3
votes
1answer
627 views

Is there a way to have Script Editor web parts or Content Editor web parts back inside sharepoint online modern pages

I am new to the sharepoint online modern pages world. Now i read a lot about it and decide to start using it instead of the classic web pages. now the SP modern pages provides some useful features and ...
3
votes
1answer
567 views

Show “Upload file” dialog from third party site

I'm developing a site in .NET 4.5. The site does not use SharePoint, it's standalone. The site does however have a working integration with SharePoint document libraries using the .NET client-side ...
3
votes
1answer
407 views

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

I'm using PageViewer WebPart to display a document library of site A in site B. If I click on an item in the 'Name' column in siteB, the document opens in the iframe. Is there any way I can open a ...
3
votes
1answer
2k views

SharePoint iFrame in Internet Explorer

In order to make a search migration from SP 2007 to SP 2013, I have created an iFrame in a content editor web part in SP 2007 redirecting to the search page of 2013. However, after searching a word, ...
3
votes
1answer
735 views

Getting “This content cannot be displayed in a frame” on all dialog forms

Environment: SharePoint Server 2010 We have a web application, in which there is only 1 site collection with few subsites in it. The problem is all the modal dialog forms when opened get error ...
3
votes
1answer
1k views

Is there a way to configure X-Frame-Options in SharePointOnline?

I'd like to be able to embed certain file previews from SharePoint Online in another domain - in fact, I'd like to do it for 2 extra domains. Is it possible to replace this header... X-Frame-...
3
votes
3answers
5k views

JavaScript not running in Script Editor

I have a script editor web part on a page in my site. I have the following code in it: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> <...
3
votes
0answers
900 views

SAMEORIGIN error using OOTB master page.

I'm using seattle.master with a theme on my O365 site collection. When I try to change to a different composed look on the subsites within that collection I'm getting console errors on the OOTB ...
2
votes
3answers
2k views

Hiding the Ribbon in an IFrame

I have a JQuery UI Tab Web Part which loads iframe pages on demand. I want to hide the ribbon in each of these pages but the problem is the delay which makes the page jump function setFrameStyle()...
2
votes
2answers
6k views

Page viewer web part shows a blank page

I added a page viewer web part in SharePoint page , add the page link ,save and close, no errors, it shows a blank page !! PS: The page url browsed in the browser normally, I also enabled the iframe ...
2
votes
1answer
2k views

Error on page when using an iframe in a Content Editor Web Part

I am trying to set up on iframe on a SharePoint 2007 page that will show the most current project report uploaded to a document library. Here is my code, inserted into the page in the source of a ...
2
votes
1answer
5k views

X-Frame-Options ignored in Chrome / Firefox. IE works

I have a simple PageViewer Webpart loading mysites. This displays in an iFrame within IE but doesn't display in Chrome or Firefox. I have tried adding the following to my MasterPage: <meta name="...
2
votes
2answers
2k views

Render SharePoint 2010 web part inside iFrame (non SharePoint page)

I'm investigating the possibility to show a Web Part inside an iFrame - in a non SharePoint environment. We want to build an integration between a CRM sytem and SharePoint. We want to work with ...
2
votes
2answers
9k views

What is the alternative to an <iframe> in sharepoint

I have tried time and time again to hardcode an <iframe> into one of my Sharepoint 2010 pages. It looks brilliant until I save and close, when I do sharepoint removes any trace of an <iframe&...
2
votes
3answers
5k views

Problem with IFrames and SharePoint 2010

When having an IFrame inside SharePoint 2010, scrollbars disappears under some cirumstances depending on window size and mouse position. If holding the mouse over the address bar while refreshing the ...
2
votes
1answer
152 views

Get relative URL for a Microsoft article

I am very clueless when it comes to developing, so my question may seem dumb, but here goes nothing. I will present you the scenario I am trying to work with: in SharePoint Online, on the modern ...
2
votes
1answer
886 views

IFrame Height in Script Editor

I have a iframe placed into a script editor. When the height of the iframe is set to 100% the images all size correctly but the script editor web part does not. How can I get the editor to mach ...
2
votes
1answer
885 views

Page Viewer Web Part navigation

I have a Sharepoint page with a page viewer web part plus multiple web parts. The page viewer web part includes a PowerPoint graphic with hyperlinks. I want to use the the PowerPoint presentation as ...
2
votes
0answers
447 views

Yammer embedded via iframe in SharePoint 2010

I am trying to show a Yammer group feed via iframe on a SharePoint page (Sharepoint version 2010). The Yammer feed is embedded via the embedding code from Yammer on a simple html page. This page I ...
2
votes
2answers
3k views

SharePoint provider hosted app context token is null in Client Web Part

I have a working SharePoint provider hosted app, with an MVC web application residing on an Azure Web site. Entering the full screen app page, everything looks as expected. Adding a client web part ...
2
votes
0answers
292 views

Iframe and sharepoint compatibilty

I have a iframe where a user completes few courses and clicks finish at the end where we track the user activity as complete . This used to work with IE,chrome and mozilla. Recently one of the users ...
1
vote
2answers
1k views

Load multiple iframe on one page

I am trying to display documents in a web part based off of the parameter passed to the page. However, it seems if i use the following code more than once on a page, it causes all sorts of errors. ...
1
vote
2answers
7k views

Yammer Embed not working on IE11

We have an Sharepoint Online 2013. Yammer Embed is added to our site. In Firefox and Chrome it works swell, in IE it does not work. On IE: When logging in the first time Yammer pops up an windows ...
1
vote
3answers
8k views

Using an iframe to view a PDF stored in a SharePoint document library

Question Is it possible to view a PDF through an iframe that is stored in a SharePoint 2010 document library? If so, what changes do I need to make to the default document library settings? ...
1
vote
1answer
753 views

Remove Scrollbar from iFrame

I have used an iframe in my classic sp page this is referencing a modern sp site but it is has a vertical scroll bar. I have tried to override it with some css and it hasnt appeared to go away. How ...
1
vote
4answers
219 views

Prevent a Modern site page from being rendered in mobile view inside sharepoint online

I have the following problem inside our sharepoint online team site collection:- i have created a new modern site page. inside the modern site page, i added many Embed web parts which contains ...
1
vote
2answers
94 views

Getting SharePoint Server 2013 to accept a .html page

Now I have a .html page I want share point to accept. In my list of web pages, I have had to change the extensions to .aspx which I am not happy with. Is there a simple setting I have to do to get the ...
1
vote
2answers
1k views

How to show pop up outside the iframe of the webpart

I have a page with custom layout and contains 3 web part zone.In each web part zone I have inserted apps like announcement.I need to show pop up on click of the content in the announcement web part.I ...
1
vote
1answer
812 views

Does AngularJS work with IE 9 and Sharepoint?

I have investigated far and wide for an explanation and solution to this problem, but now put my hands up and ask for your help! On my SP 2013 cloud-based site, I have Home.aspx with a CEWP, which ...
1
vote
1answer
451 views

How to style third party web part in SharePoint 2013 Online?

I have a web part added into the page and would like to style its look and feel. The issue is that the web part is appearing under an iframe and I cannot seem to apply style to its DOM under the ...
1
vote
2answers
2k views

Parser Error in IFrame When added in Application Page

I am creating a SharePoint-2013 web-part in that I have created Application Page. In that page I am using <iframe> element only there are no any other elements just for testing. But it is ...
1
vote
1answer
143 views

Hide “+ Add” in iFrame - News Webpart

I have a new modern news webpart in classic SP Online and I need to hide the "+ Add" Could you explain how this can be done with JS? I have the following code, how can this be used to not load the "+...
1
vote
1answer
189 views

sharepoint 2013 dynamic iframe PDF without OWA in default edit form

I've been requested to prepare a form to fill some field when uploading a pdf on a document library. Added a text field and marked as mandatory do the tricks pretty well, but I need to display the ...
1
vote
1answer
133 views

Edit standard modal dialog (iframe) content - SP2013

I am working with SharePoint 2013 and trying to remove the following red-framed section of the standard-generated modal window, which pops-up when checking in a document. I do not own SharePoint ...
1
vote
1answer
1k views

SharePoint provider hosted app gives iframe warning “This content cannot be displayed in a frame;”

SharePoint 2013 on-premises. My app has domain "myApp.com" and my sitecollection has the domain "mySitecollection.com". I use adfs authentication. I created a page on "mysitecollection.com". On this ...
1
vote
2answers
5k views

Iframe in web part page SharePoint 2013

I have a WebPart page with drop down toolbar. Every item/element of toolbar is a link to some other site/page. For time being, when users click on item/element in toolbar, selected page opens up in a ...
1
vote
1answer
92 views

How do I edit a specific page so that it may be displayed in iframe?

We have a separate intranet site that iframes a specific Sharepoint page. It gives the following error: To help protect the security of information you enter into this website, the publisher of this ...
1
vote
1answer
780 views

Loading Third Party Iframe on SharePoint publishing page

I have a SharePoint Publishing Page in which particularly using an iframe to load a HR Portal by Workday. So for that, in my Publishing Page I have simply added Page Viewer Web Part and then added ...
1
vote
1answer
3k views

Loading My Sites within iFrame - Hide SuiteBar div

I am loading MySites in an iFrame within another Site Collection. This works with a PageViewer webpart but I would like to hide the new Suitebar since there is already one on the parent page. Any ...
1
vote
1answer
981 views

How to integrate custom .ASPX solution in SharePoint list EditForm

I have developed a custom SharePoint solution which is consisted of one ASPX application page. Now, I would like to integrate that functionality in list item edit form. I have decided to create a ...
1
vote
1answer
52 views

SharePoint page with Iframe showing error while sharing permissions

<iframe width="100%" id="fileViewer" src="https://abc.com.vn/library/Forms/AllItems.aspx" class="pdf-viewer-frame" height="900"></iframe> Shared with dialog is not showing people picker ...