Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Edit Hyperlink - Not opening an URL in new Window

Avatar

Former Community Member

Hi Team, I am trying to change a normal text as hyperlink via Adobe LCD for a SAP Solution.

As you know I can select any text and right click on it to make that as hyperlink via Edit Hyperlink. We will get an option to enter URL on the popup. I entered the URL as: http://www.google.com.  After I save and execute it, it opens the URL, I am happy with that. But It opens the URL in the same window, instead I want to open the window in new window.

I requirement is that, URL needs to get opened in new window, so can you all guide me on how to do that.

Note: I am trying to do this, because it is a view form where I have link in it and by clicking it, I need to achieve the same. We do not have any licence for Interactive forms.

Thank you

Regards

Nizamudeen SM

1 Reply

Avatar

Level 10

Hi,

If you can use a button, with no background or border, then you can use the script app.launchURL("http://www.google.com/", true); in the click event.

You can wrap the text and button in a positioned subform, so you should be able to position the button were you need it.

This approach will fail the accessibility standards, if that is important.

Regards

Bruce