Go to URL action forces new window in Lightning

Dan BoudreauDan Boudreau Member
edited April 2018 in Problems
Hello team!

The Go to URL action is forcing a new window in Lightning regardless of the target setting; current window and parent window have the same problem.

I do get to the right page however it's always a new window which is a less ideal user experience! :P

I'm on version 11.1.8 in my sandbox.

Thank you,

Dan

Comments

  • Zach McElrathZach McElrath Skuad
    edited April 2018
    What URL are you going to? Only relative URLs that point to Lightning Experience content are allowed to be opened within Lightning Experience --- if you're trying to open an external URL on another domain, that has to be opened in a new tab / window in your browser.
  • Dan BoudreauDan Boudreau Member
    edited April 2018
    Zach,

    I take back my complaint. The issue was I was using the {{$Site.CurrentSiteUrl}}/{{{Id}}} -- a holdover from classic configurations.

    I changed it simply to /{{{Id}}} and it works!

    Thanks,

    Dan
Sign In or Register to comment.