Tag Info

Hot answers tagged

5

You might try Permissive XFrame Header, which is basically an HttpModule that can be enabled per Web Application.


4

You can try putting the meta-tag in master page. I had the same issue with SP2010 and it worked there. Or else you can try changing the X-Frame options tag from IIS manager. Here are the steps tpo do so: •Go to Inetmgr -> Select the Web application ->Select and double click the HttpResponseHeaders for the application •Select Add at the right hand side ...


3

Take a look at the Page Viewer web part (http://office.microsoft.com/en-us/windows-sharepoint-services-help/about-the-page-viewer-web-part-HA001160926.aspx ). It uses an iframe.


3

A similar question: Need to expose internal Sharepoint 2010 Document Library to External website IMHO using web service to get documents from SharePoint is right way of doing it. You can handle all login/authentication on your website and you can develop custom control to display sharepoint documents. Using iframe is quick and dirty way of doing it. Some ...


3

Why are you combining jQuery and old-fashioned IE-only DOM code? Try this: <script type="text/javascript" language="javascript"> function CurrentReport() { var link = $(".ms-vb-icon:first a").attr("href"); return "https://intra.sse.gov.on.ca" + link; } $(document).ready(function(){ $("#EPMReport").attr("src",CurrentReport()); ...


2

Have you considered using the Page Viewer Web Part instead of an IFrame? This would allow you to add the pages from within the browser and would retain the functionality. Remember adding JS to a page affects the performance of that page and takes effect as the page is rendered.


2

For full story see SharePoint 2010 and Pdf Integration Series – Part 1 The short story either set Browser File Handling to Permissive Go to SharePoint 2010 Central Administration > Application Management > Manage Web Applications Select the row of your web application Click General Settings in the ribbon Scroll down to Browser File Handling and select ...


2

This has nothing to do with any restriction of the internet explorer. This works by design of html. Your src="http://search/Pages/default.aspx" simply doesn't know that it has been loaded in an iframe. In order to get this work you need to add some javascript or modify the master page of your search center and add the following html tag in the header. ...


2

In addition to Milind's answer: it is not good practice to put html directly into the CEWP just because you can. For one, it will only work on some kinds of pages. Web part pages are fine, wiki pages will chew the html. Secondly, it will be hard to maintain, since you will need to edit the web part itself every time you want to make a change. As an ...


2

Displaying a loading indicator on a iframe is quite easy. Just display the loading animation by default over the iframe and hide it when the javascript onload event for the iframe fires - like onload="hideLoading()". In SP there are several ways to do this. You could edit the masterpage and insert the indicator hard, you could build your own pageviewer ...


1

Check if X-Frame-Options is set to SAMEORIGIN on the SSRS web server? You can check it in web.config or using the IIS management console Few links which may help you: http://blogs.msdn.com/b/ieinternals/archive/2010/03/30/combating-clickjacking-with-x-frame-options.aspx http://stackoverflow.com/questions/23085306/disable-x-frame-options-in-mvc3-or-iis-7-5 ...


1

Since you can view MySite using PageViewer web part, I'm assuming it's within same domain. <script type="text/javascript"> $(document).ready(function(){ var mySiteIframe = $("#MSOPageViewerWebPart_WebPartWPQ2"); mySiteIframe.load(function(){ window.console && console.log('Loading Iframe'); ...


1

I think i would make your custom aspx application do everything that needs to be done and not depend on the OOTB edit form. Then on the ootb edit form, just put some redirect code on the page to take them to your custom application. To the end user it should be a pretty seamless experience. Especially if this is SP 2010 and your edit page is in a modal.


1

The Content Editor Web Part is intended for adding HTML content to a Web Part Page, it is not designed to link to a Web site. If you need to link to a Web site, consider using the Page Viewer Web Part. -Microsoft- http://office.microsoft.com/en-us/windows-sharepoint-services-help/about-the-content-editor-web-part-HA001160897.aspx


1

The page viewer loads into an iFrame. I would think you would need some fancy javascript on both the parent page and the iframe content. You could then call into the parent and activate the functions. If the content is not hosted on SharePoint you might some XSS issues. Parent: functon next(){ Do something } In the iFrame: <a ...


1

I hope this helps somebody in the future bcos I spent a little while scratching my head on it... If you have blobcache enabled you will not be able to remove the X-Frame-Options header for any file type that's being cached.


1

Go to your .cs designer file. Change: protected global::System.Web.UI.HtmlControls.HtmlGenericControl FinalScoreframe; To: protected global::System.Web.UI.HtmlControls.HtmlIframe FinalScoreframe; Will solve your problem. :)


1

SharePoint lists are surfaced as web services so you can use Javascript to call something like SPServices or REST to get the data from a remote list.


1

jQuery.load allows you to pass in a selector to into the url. So you can grab just the top nav bar with something like the following: $("#HeaderFrame").load("/sharepointsite/default.aspx .s4-tn") However, that will likely throw some script errors (just like you described) because none of the sharepoint javascript will be loaded on your custom html page. ...


1

1.Since you are admin , the iframe options are setup in the IIS and its mainly done to avoid Frameable clicking jacking attacks. 2.Page Level : I recommend you goto the specific html page with iframe and add a meta tag eg meta name=”X-FRAME-OPTIONS” content=”ALLOW-FROM” /> If the value contains the token ALLOW-FROM origin, the browser will block ...


1

You need to change a setting for your web application in Central Administration. Go to Central Administration > Manage web applications > Your Web application Select General Settings Locate Browser File Handling Select Permissive Here are the details as stated in Central Administration: Specifies whether additional security headers are added to ...



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