rishitha pericherla
rishitha pericherla

Reputation: 1

OWA Addin code written gives a pane within the mail, but i need it to pop a window and display the webpage in default browser

FormSettings>


Form xsi:type="ItemRead">


DesktopSettings>

SourceLocation DefaultValue="https://www.google.com"/>

RequestedWidth>800/RequestedWidth>

RequestedHeight>800/RequestedHeight>

/DesktopSettings>

/Form>

/FormSettings>

what has to be used in order to get a pop up browser on clicking that hyperlink

Upvotes: 0

Views: 66

Answers (1)

user7823505
user7823505

Reputation:

If you also want the task pane to open, you can start with an add-in command that only executes a JavaScript function. See an overview and an example.

Then either call the displayDialogAsync API to open a window that can communicate with the add-in (the kind of window depends on the client), or call window.open to open an external web page in the default browser.

When the add-in's JavaScript has finished executing, remember to call event.completed() per the first example to stop the add-in.

Upvotes: 1

Related Questions