Hi.

Anyone who has a working example of using the Office Web Apps Viewer in an DF iFrame?
We want to pass a document uploaded to our webapp into the iFrame object and let the user preview docx files and so on with Office Web Apps.
Example: https://jsfiddle.net/gcuzq343/

First try:
Code:
Get DownloadURL of ghoWebResourceManager sFile to sUrl
Move (Replaces("/", sUrl, "%")) to sUrl
WebSet pbRender of oIFrame to True
WebSet pbEnabled of oIFrame to True
Move ("https://view.officeapps.live.com/op/embed.aspx?src='" - sUrl - "' width='100%' height='100%' frameborder='0'>This is an embedded <a target='_blank' href='http://office.com'>Microsoft Office</a> document, powered by <a target='_blank' href='http://office.com/webapps'>Office Online</a>.") to sUrl
WebSet psURL of oIFrame to sUrl
This gives us an error like if the Office web apps cant get to the file.