Office 365的应用程序内的iframe? [英] Office 365 app inside iframe?

查看:204
本文介绍了Office 365的应用程序内的iframe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OK,伙计们需要一些建议与乳宁里面的iframe ASP.Net应用程序。

OK, guys need some advice with runing ASP.Net app inside iframe.

我有一个CMS和ASP.Net应用程序,它会谈到Office 365。

I have a CMS and ASP.Net app which talks to Office 365.

由于我没有我的应用程序集成到CMS(身份验证问题)我使用 jQuery的窗口叫我的办公室应用程序
插件
这有两个好处:

Because I couldn't integrate my app into CMS (authentication issue) I am calling my office app using jQuery Window Plugin which has two advantages:


  1. 我风格的窗口看起来虽然CMS
  2. 其一部分
  3. 它OnClose事件,我能够作为一个触发器,我需要更新UI使用

一切的伟大工程。当用户去登录。由于Office API调用它我的办公室应用程序重定向到认证页面远程服务唯一的问题是。这打破了iframe中。让用户在一个空白的对话窗口,盯着,直到他们觉得无聊。

Everything works great. Only issue is when user goes to sign in. Because Office API call a remote service it redirects my office app to the authentication page. And this breaks the iframe. Leaving user to stare at a blank dialog window till they get bored.

在此之前发现该插件我用普通的JavaScript window.open()开辟了一个新的浏览器窗口对我来说,一切工作正常。但对我来说最大的问题是,CMS上下文中,我不能当/如果用户已经用我的办公室应用程序完成了出来。因此,我没有钩我可以依靠触发UI更新让用户只刷新页面。

Prior to discovering that plugin I used normal javascript window.open() which opened up a new browser window for me where everything works fine. But the biggest problem for me is that inside CMS context I can't tell when/if user has finished using my office app. Therefore I have no hooks I can rely on to trigger UI update leaving user to just refresh the page.

请问有什么方法可以让周围我的问题(除了整合我与CMS办公应用程序)?

Is there anything I can do to get around my problem (apart from integrating my office app with CMS)?

PS:
我的办公室是在网络上基本上发送HTTP消息到CMS为了做需要做的事情。

ps: My office is basically sending HTTP messages across the web to CMS in order to do what needs to be done.

PSS:
反过来我的办公室应用程序使用最新的Office 365的API来谈谈它的服务。

pss: My office app in turn uses latest Office 365 API to talk to its services.

推荐答案

道歉的家伙。刚刚确认的Office 365配置为不显示iframe内。

Apologies guys. Just confirmed that Office 365 is configure not to display inside iframes.

这pretty多少叶子只有两种选择:

That pretty much leaves only two options:


  1. 运行一个单独的浏览器窗口

  2. 与CMS(理想)的更紧密集成

这篇关于Office 365的应用程序内的iframe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆