I have a SharePoint provider hosted app built using MVC 5 and the UI is SPA using Durandal framework.
We need to have a feature that allow the end user to upload documents, and later to preview and edit it inside the browser, but we don't want the user to leave the application and open another tab or browser window, the edit should be in the same window in a lightbox or something similar.
I tried to put it in an iframee but i got an error message: Refused to display 'SERVER_URL/EditDocumentInOWA/_layo…{97f93792-f19f-4db9-a7ec-0701914c269b}&action=editnew&IsDlg=1&output=embed' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Any ideas if this is even possible ?