Sign up for Office 365
Learn more about Office 365
very nice indeed .. anyway you could have a workaround for viewing html files in your browser as well?
urgently need to be able to show html files!
thanks in advance
Thanks for the feedback.
very nice post .. I actually need this urgently for viewing html files, could this be done for html also?
The exact method of embedding didn't work for HTML in my first try, but I am confident a variation of this would work for HTML files. Sorry I can't work that out with any urgency, but if you're crafty you could take what I've done and work with it to find the solution. I will post back here when I do get to working through the html solution.
Did you have anything else that you wanted to add to this thread jbooker?
Thanks for asking. Yes I do as will others who may have questions about this solution. This is an open discussion about the PDF work around presented in the beginningn of this thread which I hope will remain open.
Joshua - how nice of you to offer this! I was able to check it out using your sample link above. However, when I replaced the file name with one of ours, I got this message:
File does not begin with '%PDF-'.
Is there a special file naming syntax you are expecting?
oh - update - I had tried it in IE 9. I just now tried in Safari 5.0 and it worked just fine! Maybe back to the 64-bit thing?
You will get that message if you are opening a pdf file from a private site while not logged into that site.
It may be the same message for x64 IE I'm not sure. Try again in IE9 while logged into your private site and see if it works.
Stay tuned as I have an installable solution to get this working on your own site forthcoming.
I've tried and don't have a way that works for HTML files. So far the only option is to save your html with .aspx extensions then they will work.
Don't know if that will help, but it's all I know of.
Josh - Just to let you know, I verified that I was logged into my site before linking, and still got the same error. I had someone try it on their IE8 browser and they said it worked just fine though. And cool news that you're working on an installable solution! Happily staying tuned ....... 8-)
Thanks for the info.
You could try this:
I havn't tried with IE9 so I'm not sure it will help, but may be worth a try.
You could also try a smaller PDF file or refresh the page after the error message as it may be that the adobe plug-in isn't waiting for the file to cache fully.
late getting back to you, but yea, the same thing happened when I tried your test file from IE9. I get the "File does not begin with '%PDF-'. message....
Ian Morrish also has a suggestion ...
Displaying PDF files in Office 365 SharePoint Online sites
Ian's SharePoint Blog
Here is my solution that you can dowload and install on your private site:
Let me know if you have questions.
I'll spread the word about your solution - so good and generous of you to go through the trouble to provide this! I'm sure you are making a lot of people happy!