Hi Reemali,
Based on your comments, May be this full fill you requirements.
Step 1: Add an HTML Element widget to your page and set the Tag name to a. This renders a real anchor (<a>) link in the DOM — unlike a Link widget with an On Click nanoflow, this gives you a genuine "href" so things like right-click → "Open in new tab" work correctly.
Step 2: In the HTML attributes section, add a new attribute: Name = "href", Value = "your full URL".
Remember to set the Tag name to " a "
Limitation: since this is a static href, not a click-triggered nanoflow, you can't run language-detection logic on click anymore. Instead:
Now: when you click on Button the button logic will follow, but when you right click on button and do the open link in new tab the link will open new tab.
I have tested this in my application maybe this works for you.
Please mark this accepted if it helps.
The behavior mentioned by Gopi is correct for the default Mendix Link Widget with On Click → Nanoflow.
Since Mendix applications run as a Single Page Application (SPA), the browser's native actions like Right click → Open Link in New Tab do not execute the Nanoflow logic. The URL is only generated when the click event triggers the Nanoflow, so the browser does not know the final target URL.
For cases where you need dynamic URL handling (language-based URLs, generated links, etc.), you can handle it using a URL opener approach.
I have created a small module for this scenario:
URL Opener
https://marketplace.mendix.com/link/component/226071
Typical usage:
Kindly mark this as the accepted answer if it helps.