7
votes
How to embed Word and PDF documents in pages
Copy the address of a PDF file in a document library. (via the ellipsis)
Go to a web part / wiki SharePoint page.
Insert Web Part
Media and Content > Page Viewer Web Part > Insert
Edit web part
keep ...
3
votes
Accepted
Page viewer web part shows a blank page
This issue usually occurs in case you have edited your page and added the Page Viewer Web Part using Google Chrome!
In Google Chrome, the blank page inside the Page Viewer Web Part means
This ...
2
votes
Load multiple iframe on one page
Your camel is messed up.
<View><Query><Where><Eq><FieldRef Name=\'LinkTitle\'/>' +
'<Value Type=\'Computed\'>' + parameter + '</Value></Eq>...
2
votes
Accepted
Getting SharePoint Server 2013 to accept a .html page
It's a security measure on the SharePoint-side. This article has some details about this.
In short: You can configure this the "simple" way for a SPWebApplication and set Browser File Handling to ...
2
votes
Accepted
Show "Upload file" dialog from third party site
The SharePoint's upload dialog of a particular library can be accessed from
http://site/_layouts/Upload.aspx?List={ID to the library}
You can get the ID by e.g. going to the Document Library ...
2
votes
How to set dynamic width and height for iframe in App Part
If the app part is SharePoint OOTB modal then use below javascript
var dlg = SP.UI.ModalDialog.get_childDialog();
if (dlg != null) {
dlg.autoSize();
}
Hope this helps.
2
votes
Is there a way to have Script Editor web parts or Content Editor web parts back inside sharepoint online modern pages
To use React js script editor in modern pages you will have to:
Upload a spkg file of the solution you have shared in the apps catalog of your tenant. And then install the client side solution on the ...
2
votes
Remove Scrollbar from iFrame
Try the script below to display specific area of a page using iframe:
<div style="overflow: hidden; margin: 15px auto; max-width: 575px;">
<iframe scrolling="no" src="https://<path>" ...
1
vote
Prevent a Modern site page from being rendered in mobile view inside sharepoint online
The easiest solution I can come up with that does not include fondeling with 3rd party software or snooping in the web.config file would be to insert either a usercontrol or some javascript on the ...
1
vote
Prevent a Modern site page from being rendered in mobile view inside sharepoint online
I think it's impossible to disable mobile view just for one page. But you can disable it for your SharePoint website:
Try disabling "Locate Mobile Browser View" feature in Site Settings.
1
vote
Accepted
sharepoint 2013 dynamic iframe PDF without OWA in default edit form
At the end I wrote a simple web part that generates an iframe to have pdf displayed.
Prerequisites to have it working:
A query string passing Item ID and url with list name included (the
default ...
1
vote
Accepted
Edit standard modal dialog (iframe) content - SP2013
If you have Full Control on the site you'll have the permissions to register a scriptlink iirc.
Create a file on your computer, call it HideRetainCheckout.js or something and add the following:
if (!...
1
vote
Accepted
Getting "This content cannot be displayed in a frame" on all dialog forms
Alright I managed to solve the problem.
Open IIS > Find your site > HTTP Response
If there is X-Frame-Options:Deny, Then just remove it or set value to "SAMEORIGIN".
Removing X-Frame-Options ...
1
vote
Iframe Navigation Blocked Script Execution
It sounds like you're encountering a common issue with sandbox restrictions in SharePoint when trying to use iframes for navigation. Unfortunately, SharePoint's security model is quite strict, and it ...
1
vote
Can i embed the new arrival section from Monday.com inside SharePoint Online using IFrame
You will need to check the relevant Monday.com documentation or contact their support team for further guidance. As long as you have the appropriate embed code from Monday.com, then there is no reason ...
1
vote
Minimize and open iframe using react js in SPFX
I believe 'React Iframe' component does not have such a property or event handler that could hide/open the iframe panel. I suggest you wrap this iframe component and a button within a container, use ...
1
vote
Make external website only accessible in sharepoint
If you mean that the end user should not be able to write www.youdomain.com in any browser and see the result?
No that is not possible. The request and the rendering in the IFrame is the same as if ...
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
...
1
vote
Accepted
Is it possible to have external provider-hosted app work with SharePoint Lists effectively?
I'm not going to answer your question as stated, but provide an alternate approach to your entire solution.
Provider hosted apps - how can I phrase this appropriately? Well, they suck. They are a ...
1
vote
Accepted
Get relative URL for a Microsoft article
Edit the URL and remove the "en-us/". When the user visits the link, they should be redirected to the correct language version... if there is one.
https://support.office.com/en-us/article/upload-a-...
1
vote
Hide "+ Add" in iFrame - News Webpart
Customizing the modern sharepoint with custom JS/HTML/Whatever is totally against best practices (established by MS).
You have 2 options here if you want to stick to the best practices (im pretty ...
1
vote
List column to display embedded iframe
Are you using modern lists? An alternative to embedding an iframe could be to use View Formatting. View formatting simply uses JSON and can really improve the design of a SharePoint list.
https://...
1
vote
Accepted
SharePoint provider hosted app gives iframe warning "This content cannot be displayed in a frame;"
The most likely cause for such behavior is ADFS.
When you are not logged in into your myApp.com you redirected to ADFS authentication page. This page by default sets x-frame-options:DENY and it's ...
1
vote
Accepted
Is there a way to configure X-Frame-Options in SharePointOnline?
No. Microsoft has this locked down.
1
vote
Accepted
Load multiple iframe on one page
You're JavaScript is all in global scope.
If you copy the JavaScript multiple times in one page, you still will have only one function retrieveListItems, onQuerySucceeded, onQueryFailed and modIframe....
1
vote
How to show pop up outside the iframe of the webpart
For me i Use this Method to display the pop-up of the Edit Form for eg.
function EditRecordFromList(id) {
SP.UI.ModalDialog.showModalDialog({
url: _spPageContextInfo.webAbsoluteUrl + "/Lists/CA/...
1
vote
Display SharePoint Online in an iframe on different domain
Adding AllowFraming option in master page works for SharePoint Online. Turn on the publishing feature and edit the master page to add:
<WebPartPages:AllowFraming runat="server" />
1
vote
Accepted
Display SharePoint 2013 in a frame
You cannot do that. Simply because you're trying to encapsulate a cloud-based system into an internal IIS folder structure.
You can not add Sharepoint online page in an iframe because of the same ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iframe × 132sharepoint-online × 41
web-part × 21
2013 × 20
page-viewer-web-part × 16
javascript × 13
2010 × 10
sharepoint-addin × 10
sharepoint-enterprise × 8
document-library × 8
jquery × 8
html × 8
embedded × 8
sharepoint-server × 6
css × 6
modern-pages × 6
development × 5
pdf × 5
office-365 × 4
content-editor-web-part × 4
internet-explorer × 4
sharepoint-designer × 3
modern-experience × 3
query-string × 3
app-part × 3