Office Dialog API messageParent Mac. #4130
Unanswered
asfaarahmed
asked this question in
Q&A
Replies: 1 comment
-
Any fix found for this issue? Even i am facing the similar issue now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is how i am opening dialog as it is recommended to open dialog from same origin.
`const showDialog = () => {
};`
On dialog.html i just redirected to
Office.initialize = () => { window.location.href = "https://someWeb.com/testsample.html"; };
On my
someWeb.com/testsample.html
which is working on windows but not on Mac.Office.context.ui.messageParent("Msg", { targetOrigin: "*" });
tried
Office.context.ui.messageParent(jsonMessage, { targetOrigin: "https://localhost:3000" });
Office.context.ui.messageParent("Msg");
but no success on mac..
Beta Was this translation helpful? Give feedback.
All reactions