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.

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. <...
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 ...
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 ...
2
votes
1answer
100 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
301 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
348 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
93 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
253 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
116 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
503 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
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
4answers
184 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 ...
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
161 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
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 ...
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
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 ...
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
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
472 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
1answer
349 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
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
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 ...
0
votes
1answer
362 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
362 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 ...
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. ...
3
votes
1answer
945 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-...
1
vote
2answers
499 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
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
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
189 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?
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
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 ...
0
votes
1answer
1k views

SharePoint 2013 compatibility issue on IE11

I have setup the SharePoint site to open in an iframe within a CRM portal. When I try to upload a document and fill out the metadata, it gives an error that 'Field can't be blank' even though I ...
0
votes
1answer
402 views

Javascript load document libraries dynamically by parameter

So, I have asked several questions on this topic and each one resulted in a bit of progress. I believe I am now on the last step and I am not sure why this javascript doesn't work. The basic goal is ...
0
votes
2answers
990 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
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
2answers
887 views

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

How to change the height and width of a Page Viewer web-part based on the size of the content? Regards, Korak
3
votes
1answer
377 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 ...
0
votes
0answers
154 views

How to allow attachment to be displayed in a iframe

I want to display an attachment in a iframe, I tried adding <WebPartPages:AllowFraming runat:"server"/> in the Master Page but it didn't work, do you have any suggestions about how to approach ...
0
votes
1answer
793 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 ...
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()...
0
votes
1answer
720 views

postMessage with SharePoint iframe resize not working correctly

I have a problem trying to resize an iframe inside a SharePoint Online environment (O365) through Cross Domain. I've tried a bunch of solutions found on the net and nothing works except Baker Humadi's ...
1
vote
0answers
223 views

Error message in iframes on Web page with many embedded Office documents

I've tried to embed a large number of PowerPoint files into a web page in SharePoint 2013. As a result, I sometimes get error messages "Sorry, something went wrong..." (see screenshot below). If I ...
1
vote
2answers
4k 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 ...
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> <...
1
vote
1answer
186 views

Get Video Source from variable

I am currently using SharePoint to query a pages library for a video, the aim is to then display this video in an iframe, I am currently using csom to get the video source from a Page, however this ...