Tag Info

Hot answers tagged

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()); ...


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

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 ...


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

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 ...


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 ...


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

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

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.



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