I am developing an app for windows 8 , in which I want the toast to have link to any webpage or any other metro application rather than the own application. note:The web link or App Name will be entered by the user.
This isn't supported. Toasts can only take the user to the application that sent the toast. See below.
From MSDN:
A toast notification can contain text and/or images, but secondary actions such as buttons are not supported.
and
When a user taps or clicks the notification, the associated app is launched and the user can expect that the resulting view is related to the content of the notification. It is the only mechanism by which one app can interrupt a user in another app.
You can also try this :
create a new xaml page with WebBrowser element and use following code to easily navigate to webpage.

Here On clicking the shell Toast it is navigated to the specific page inside your app specified in the url.
It's just a workaround it's not great but will partially accomplish your task.
Thanks .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With