Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Office.DialogMessageOptions interface
- Package:
- office
Provides options for how to send messages, in either direction, between a dialog and its parent.
Properties
| targetOrigin | Specifies the intended recipient domain for a message sent, in either direction, between a dialog and its parent. For example, |
Property Details
targetOrigin
Specifies the intended recipient domain for a message sent, in either direction, between a dialog and its parent. For example, https://resources.contoso.com.
targetOrigin: string;
Property Value
string
Examples
// The following example shows how to send a message to the domain of the parent runtime.
Office.context.ui.messageParent("Some message", { targetOrigin: "https://resource.contoso.com" });
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins
Feedback
Was this page helpful?
