Cannot paste images from authenticated site to Microsoft Word - web

I've seen this issue posted here before, but the solution - although it helped others - did not work for me.
When you copy an image from your browser into your clipboard, and then paste it into Word, Word tries to make a web request to get the content. If the image was from a site that uses a form-based login to authenticate users, Word obviously fails to login. Your content cannot be pasted. Other software, like Paint for example, has no issue with this and will simply paste your copied content without trying to make another web request.
It has been suggested that changing the "Check for newer versions of stored pages" setting in Internet Settings to "Automatically" will the solve the problem. This may well work for some, but not for me. I've tried every option in this setting and none work.
I've used packet capture software to ensure that Word really is making a web request when I paste the content. The web page is indeed redirecting Word to the authentication page, at which point, Word does nothing.
I am using Chrome, but have tried Internet Explorer. My Internet Explorer version is 10. I am using Windows 8. I am using Word 2010.
There are many suggestions on the web about image formatting and document layouts etc. in Word, but this is clearly not my problem. The packet capture reveals that Word cannot authenticate to get the image.
Is there some way to prevent Word from doing an extra HTTP GET to gather the image from the website? Since other software has no problem pasting the content without doing an additional web request, it seems the content really is in my clipboard.

Instead of trying to fight Word on this have you tried just saving the image itself and then copying your local copy to Word rather than copying it directly from the site? You would take ownership and Word should treat it like a local file and see no need do a HTTP GET.

Related

Dashboard with Excel file displayed on Sharepoint online page without interaction

maybe it's a silly question but I'm unable to find an answer.
Issue:
create a site on sharepoint online which displays Excel file and refresh on schedule - without any interaction
The file is supposed to be viewed on a TV in a browser and the file is going to be updated regularly
I've created a page and displayed Excel file - but after site refresh I need to hoover mouse over it, otherwise its blank
embeded code to area inside the excel file requires same interaction
I know that in the past (in old site editing interface) it was possible to add a script to a page, however I managed to find this:
Microsoft statement
So the old way is no longer possible.
Can anyone think of a solution?

Preview or Embed on a web page an Excel document stored in Azure Blob

I was wondering if it is possible to open an Excel file (or any Office file) stored on an Azure Blob account within a browser or, better yet, embedded on a web page. Kind of like a preview function instead of always prompting the user to download the file. I know this could be easily done by storing the file in Sharepoint or OneDrive and using it's embed functionality but I'm trying to steer clear of those since we already implement the blob storage.
I've been searching but most results only lead me to Sharepoint/OneDrive.
Any help would be appreciated. :)
Edit (2014-07-14)
As per RGregg's suggestion below, I tried looking into creating a custom WOPI Host and I do think it would perfectly fit what I need. But I think I'm missing something. I cannot get the preview running. I am always getting a "Server not found" error. I tried replacing the old discovery file directed at owa1.wingtip.com with officeapps.live.com/hosting/discovery and it now goes as far as the loading image of Word Online but it gets stuck there. Couldn't really find other materials that expounds on how to make it work and it doesn't show any error whatsoever.
I also tried to create my own (in an attempt to simplify everything with just the mere basics) by implementing the GetFile and CheckFileInfo methods required. It sucessfully retrieves the file and the info but I still can't integrate it with the Web Apps. I think I'm missing a big chunk of something but I can't really figure it out. :(
I think it'd be easier to convert your backend over to Office 365 or OneDrive than to make your blob storage solution work with the Office apps, but I think what you would need to do is implement a WOPI host, like in this article: http://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6. That would at least get you to a point where Excel Web App could load files from your blob storage.
I've just recently found out about Google Doc Preview. Basically, you'll just need an online URL of your document and appended it to:
https://docs.google.com/viewer?url=
and put that in an iframe. For wholeness:
<iframe src="http://docs.google.com/viewer?url=http://<blobServer>/<filename>&embedded=true" width="600" height="780" style="border: none;"></iframe>
It already provides some sort of a "Print Preview" on an IFrame so you have to keep in mind of pagination when creating the document for a prettier view. It also doesn't require you to have any google account to access it.
I still have some issues with it though:
Security. No required account = less security.
Doesn't render charts well. I had a pie chart and it appears as one whole solid circle.
Doesn't render filters at all thus...
Doesn't provide interactivity unlike OneDrive's embed.
But, this still answers the question so I'm posting it here for anyone looking for a solution. :)
Any answers are still welcome. :)

How to download a whole Sharepoint site?

I hope someone has met this need before. I got quite a bunch of documents in a Sharepoint site. And I want to download all the docs as a whole instead of one by one. I have tried the Teleport Pro but it just said HTTP 401 Unauthorized error. Is there any way to download the whole Sharepoint document-sharing site?
Many thanks.
If you have WebDav enabled, you can just open your sharepoint site as network folder and copy paste the documents into your local hard drive.
http://support.microsoft.com/kb/841215
http://hosting.intermedia.net/support/kb/default.asp?id=1603
http://insomniacgeek.com/blog/sharepoint-open-with-windows-explorer-on-windows-server-2008/
You can use DMS-Shuttle for SharePoint for this purpose. With one drag & drop (or CTRL+C, CTRL+V ) you can download a document library or the whole site with all subsites and document libraries. You can define different filters (by modified date, size or file extension). There is a Trial Version here.

SharePoint HTML Editor Field Control Converts Relative URL to Absolute URL

Put a relative URL (no server name) into the HTML Editor and save the page. The URL is converted to an absolute URL (http://server_name is added to the beginning).
This is posing a problem for moving content from our staging to production environment, as the server names are different.
The exact same scenario is common when using the Content Editor Web Part, and Microsoft has published a fix here:
http://code.msdn.microsoft.com/WssCewpLinkFixup/Release/ProjectReleases.aspx?ReleaseId=2210
The solution creates a custom ASP.NET 2.0 control adapter to change the rendering process of all Content Editor Web Parts in the application.
But we are using the HTML Editor Field Control, not the Content Editor Web Part.
Can the same approach be used to change the behavior of a web part?
Has anyone else encountered this problem and solved it? A Google search has come up with no answers, only many frustrated users and abandoned forum threads, including this one on StackOverflow from a year ago:
Publishing HTML Field Control Converts Relative URL to Absolute URL
Many thanks in advance.
You may be able to put a little bit of JavaScript in the link, either
Link
or
Link
Haven't tried it, but it may work.

SharePoint: Back up single page

I need to back up a sharepoint web page which containts web parts and other html tweaks. I would like to keep a back up of the page itself with the web parts in the appropriate places, is this possible? Right now I just opened SharePoint designer, opened my page and saved as to my hard drive. Is there another way? Is this a complete back up of the page? Thanks.
I do the same for small changes and it has worked fine for me up to now. That said the only offical way to do it is use Microsoft's Data Protection Manager software which will let you backup/restore individual pages.
Of course you can go the doclib where the page is stored and use the ECB SendTo>>Download a copy
the interesting part of this approach is that you get the ASP.NET markup (w/server control specs)...

Resources