Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [iframe]

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

0
votes
2answers
992 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 ...
0
votes
1answer
934 views

Getting error “Object doesn't support property or method 'commitPopup'” when saving a new alert in SP 2010

In my SP 2010 environment, I have a html page, that has an iframe, and the iframe is the page where you create a new alert for a list. In the html page, I dynamically create the iframe and then insert ...
1
vote
2answers
30 views

Adding basic custom HTML

I am trying to add a weather forecast to my sharepoint homepage and but it will not work. I am using sharepoint online and a modern page. I am trying to add the code below with the "Embed" app. <...
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 ...
1
vote
1answer
1k views

Remove Vertical Scroll in Page Viewer web part viewing a Folder

A Page Viewer web part was added to a page. The Page Viewer points to a SharePoint library folder. The folder and its contents are viewed in the IFRAME, but the box has a vertical scroll. I've tried ...
0
votes
0answers
25 views

Embed a sharepoint online page inside our sharepoint on-premsies is not working

we have 2 sharepoint farms which are based on the same Active Directory. one is on-premises 2013 while the other is sharepoint online. now i am trying to embed a sharepoint online classic page inside ...
0
votes
1answer
797 views

Allow a SharePoint document to be displayed in a frame

I have a SharePoint list with attachment, I want to display these attachment in a Frame for preview but I get this error: This content cannot be displayed in a frame To help protect the security of ...
1
vote
1answer
797 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 ...
1
vote
0answers
33 views

Iframe blocks elements behind it

Trying to embed a chatbot in SharePoint online. We're doing that with an iframe through True Editor Web Part http://prntscr.com/m3br5p The issue is that even when the bot is folded like in this ...
3
votes
1answer
616 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 ...
6
votes
3answers
48k 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-...
2
votes
1answer
101 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 ...
0
votes
1answer
307 views

Modern webparts & iframes not navigating to a new page

I am using SP classic site with using modern webparts in iframes. I have added the webpart into a site page and embedding this onto the homepage classic site. However, when opening a link i.e a ...
0
votes
1answer
355 views

iframe & removing scroll bars

Hi I have an iframe and I am trying to hide the scroll bar however with the code I'm assuming it doesn't seem to disappear. Any suggestions? <div style="overflow: hidden; margin: 15px auto; max-...
1
vote
1answer
94 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 "+...
0
votes
3answers
258 views

List column to display embedded iframe

Is there a way to embed on a list item? Like storing the link in a list rich text column and when the item is opened, it will display the map?
1
vote
1answer
117 views

Hide Feedback Box Modern Pages

I have an iframe in my classic sp page referencing some webparts of a modern page. However the modern page is pulling back the feedback box. I have looked at the modern page and css cant be over ...
1
vote
1answer
506 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
185 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
1answer
205 views

What is so special about PublishingPageContent field?

I work with SP2013 on-premises publishing site. There is a standard Content Type named 'Article Page', it includes field PublishingPageContent, which type is HTML. When I create a page inside Page ...
1
vote
2answers
78 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 ...
3
votes
1answer
573 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 ...
1
vote
1answer
164 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
2answers
3k views

SharePoint 2013 - Render Page in iFrame without Navigation Elements?

I'm in a SP environment that is tightly controlled and for instance don't have access to Designer. I'm attempting to setup a page to have the user select contents from buttons, which will then load ...
1
vote
1answer
123 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 ...
13
votes
8answers
18k 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 ...
1
vote
1answer
2k views

Display SharePoint 2013 in a frame

I'm embedding a SharePoint Online page in a local web application. Almost all functions were working well like normal. But since SharePoint Online was upgraded to 2013 version, we cannot use it ...
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
5k 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 ...
3
votes
3answers
26k 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 ...
1
vote
0answers
85 views

How do I iFrame in a page from the same SP domain and keep it a Snippet?

I'm working with a client on doing some "secure" iFrame stuff using an HTML5 video player in an iFrame. This is SharePoint 2013 on-prem but hosted in the cloud by Microsoft. YouTube embeds and the ...
1
vote
0answers
89 views

Javascript buggy iframe

we have a bunch of site collections dedicated to making project management sites. The newest site I set up works flawless except for some code I custom made. The view I am trying to accomplish (and I ...
0
votes
2answers
2k views

Display Network HTML Page in SharePoint 2013

I have an HTML file sitting on a shared network server: SERVERNAME\users\public\Documents\Directory.html When I put the above path (starting with ‘\’) into a web browser, the browser renders the ...
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&...
3
votes
1answer
474 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 ...
1
vote
0answers
559 views

this content can not be displayed in a frame

I can't add a page URL in page viewer web part I am getting this error Has anyone faced this error?
1
vote
1answer
350 views

How to fetch a user email and pass it to iFrame?

I need to be able to do next: When a user fulfilling a form the user email needed to pass automatically. It says logged in user email automatically fetched. How can I do that in SharePoint Online ...
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
0answers
525 views

Embedding SFPX (SharePoint Framework) webparts in an iframe

Wondering if others are having this issue. I have an spfx webpart page that I'm embedding in an iFrame for one of our internal apps. The webpart page on its own is perfectly fine, as soon as we put ...
3
votes
1answer
947 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-...
0
votes
1answer
366 views

Page viewer not displaying ssrs report as it

Scenario: I have created report inside ssrs and want to display the same into sharepoint. The page take URL Parameter hence we have created html page and add the URL into the iframe and then added the ...
0
votes
1answer
403 views

How to set dynamic width and height for iframe in App Part

My app part doesn't support responsiveness height and width. I have tried to set height using app, but it's not working. So how can I make App part responsive Here is some view source of App part
1
vote
3answers
363 views

Iframe embedding

I am a site collection administrator. I can embed youtube videos in a page, but I am unable to embed an Excel file from the site Documents (or OneDrive). The error message I receive is: Embedding ...
0
votes
1answer
101 views

Change Columns in Page Viewer Web part

I have a Page Viewer web part that points to a specific folder in a SharePoint library. Is there a way to change the columns displayed? For instance, can the column "Type" be removed? Can other ...
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
0answers
313 views

WebPartPages:AllowFraming Only works once then it trows a X-Frame-Options error

I have a ASPX page and i really would like to load it in a iframe. It is a simple overview page. i added the following syntax: <WebPartPages:AllowFraming runat="server" /> It works only once. ...
1
vote
2answers
501 views

2010: How to display excel web access web-part page in an iframe?

Is there any way to display page which contains excel web access web-part in an iframe window? I'm getting security error.
1
vote
0answers
98 views

2010: attach URL parameters to the base url of the iframe

I have an iframe in my page which has the URL http://example.com/test.aspx?ItemID=n. I want the iframe in my page to load the item id in the query string so that the URL inside the src becomes http://...
1
vote
1answer
249 views

2010: How to pass query string filter values to iframe

I have a page viewer webpart in a page where I want the ItemID to be updated dynamically when the page loads. Since I cannot filter values using query string, how can this be achieved? Thanks in ...
1
vote
1answer
191 views

SP2010: How to open iframe links in the main window

I'm displaying a list on a page using page viewer webpart. When I click on the Title column (linked to Item), it opens as a popup on the iframe. Is there any way to open it in the main window?