Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://outlook.office.com') does not match

拈花ヽ惹草 提交于 2020-01-01 19:32:09

问题


I am developing an add-in for Outlook. I am using the Dialog API.

I get an error when using my adding in Outlook for the Web:

Failed to execute postMessage on DOMWindow: The target origin provided (https://outlook.office.com) does not match the recipient window's origin (https://myIp:port)

It appears when I call Office.context.ui.messageParent.

Anyone faced the same problem and know the fix?

来源:https://stackoverflow.com/questions/49654404/failed-to-execute-postmessage-on-domwindow-the-target-origin-provided-htt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!