Office Dialog API messageParent Mac. #4130
Unanswered
asfaarahmed
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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