Skip to main content


Easy to use web sites | No/low cost hosting

O365 Answers  O365 Forum  Blog  Blog [via rss]  Add A Form  EZ Image Gallery  Displaying docs  Contact Us   
faq > Show a calendar > pdfs > Url Encoder > Office 365 2013 2 website >  

Displaying 365 hosted web app documents on a public 365 site 

Excel Javascript pop up.

 

 

The code inserted in an html module:

<a onclick="window.open('YOUR WEB APP URL HERE','','scrollbars=yes,resizable=yes,width=800,height=800,left='+(screen.availWidth/2-400)+',top='+(screen.availHeight/2-400)+'');return false;" href=" URL HERE">Click here to open a 365 hosted document</a>

 

Excel in an iframe:

 

 

Word and Powerpoints

Word  docs won't open in an iframe (maybe because of mime type restrictions in place like pdfs?) and have to be opened in a new window so you may as well just use a pop up.

Powerpoints can now be opened in an iframe: open in web app » file » share » copy embed code.

This didn't use to be possible in 365 but it looks like MSFT has finally aligned 365 up with features offered in the free Skydrive. 

 

 

Word in a pop up:

 

Powerpoint presentation in a pop up:

 

 

The 365 iframe restriction on Powerpoints is odd because you can embed ppt's stored at Sky Drive:

 

Powerpoint stored at SkyDrive and embedded:

 

<iframe src="https://r.office.microsoft.com/r/rlidPowerPointEmbed?p1=1&p2=1&p3=SD194167094C4A208A!416&p4=&ak=!APeSeUhDKZXL9FM&kip=1" width="402" height="327" frameborder="0" scrolling="no"></iframe>