Office.DialogMessageOptions interface
Provides options for how to send messages, in either direction, between a dialog and its parent.
Remarks
Requirement set: DialogOrigin 1.1
Properties
target |
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