796
Views
3
Comments
Solved
Redirect to dynamic URL in new window from client action
Question
Application Type
Reactive

Hi all!

In a client action I generate an external URL, after which the URL should be opened in a new window.  I cannot use:

  • RedirectToURL because I cannot specify target ="_blank",
  • a hidden link and execute document.getElementById($parameters.WidgetId).click(); because the document is not aware of the newly generated link.

Anybody idea's?

Thanks,

Rogier Olde Dubbelink

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Rogier,


You can do that very easily with Javascript using the following snippet:


Kind Regards,
João

2020-09-04 11-39-50
Rogier Olde Dubbelink

Wow, this was very easy! Thanks!

2019-11-12 21-18-07
Davidson Vilela

Good solution. Thanks João

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.