Legacy Knowledge Base
Published Jun. 30, 2025

Unable to set the Target when configuring Navigation Menu Items

Written By

Adrienne Lao

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • I can see in the Templates section for Navigation Menu items ${navItem.getTarget()}, but when creating a menu item there is no way to set this. 
  • I would like to set this so that one of my menu items would open in a new tab with 
    target="blank"
    set in the UI.

Environment

  • DXP 7.2+

Resolution

  • This feature is only available in Widget Pages, under the Advanced Settings for the webpage. This feature is not available for content pages until later versions of DXP 7.4. Once in a later version, the feature flag is enabled by default and is available in the General Section. Upgrading to a later version of 7.4 will give you access to this feature.
  • There is a workaround that can enable the target to be set in DXP 7.2+:
    • Add a special character to the title and then split the string. This will allow you to set the target. 

 

Did this article resolve your issue ?

Legacy Knowledge Base