Hello OutSystems,
Currently on order to open link in another tab, we are giving extended property to the link as "target = _blank" but this doesn't work for buttons.
If we want to open link in another tab on button click, we need to style link to look like button.
So it would be nice to have this extended property "target = _blank" is working same for buttons.
These are the complaints due to this issue
https://www.outsystems.com/forums/discussion/18000/link-is-not-opening-in-new-tab/
https://www.outsystems.com/forums/discussion/11285/how-to-open-an-external-url-in-a-new-tab/
Thanks and Regards,
Suraj Borade
Add a Boolean property to links to configure if open in a new window.
Is it implemented in current version of Outsystems ?
if yes I need this for my project.
I would love to be able to open up a destination in a new tab without having to create an intense workaround of building the correct url adding it to a link with target = blank and placing a widget click or something on that.
Hi,
I am not sure if it's an advantage to implement it in service studio, because it should not be used often?
(because multiple tabs and 1 session has got it's own very annoying issues)
Agree with J completely. This is not something that should be happening often enough to justify making it a property.
J.Ja
I totally disagree with J. and Justin. This would be a useful property as I am trying to implement something, right now, where the user selects an item in a list and it opens a detail page, in another tab. I then control the tab to be closed when they exit the detail page. This would keep with the notion of low code and not make the developer have to be a javascript expert to figure this out, as noted by the originator of this thread, Claring. Please consider adding this property to the Destination widget.
Thanks, Mark
Same here, we have many destinations with a 'target="_blank"'. And no offence Justin, but whether or not that should be happening often depends very much on the system. Our users have multiple monitors, and when working on the detail screen they want to open a second tab with more information to put on their 2nd monitor. Happens pretty often in our case.
Kilian -
No offense taken, but opening new tabs is a UI *worst practice*. It may be applicable to *your* use care, or Mark's, but it's still a *worst practice* on the whole.The tools shouldn't be making that easier. This is a classic example of a couple corner cases, but OutSystems doesn't encourage worst practices to make a few corner cases marginally easier, especially if it will be adding a parameter to something that people use constantly.
In our system it is often required to have 2 (or more) pages opened simultaneously, or else the user has to keep switching back and forth, which frustrates them quite a bit.
That sounds like a design failure, not a requirement.
Not trying to be argumentative folks, but opening new tabs has horrific usability. I am sorry that some of you have been stuck with awful requirements or have designers that cannot figure out a better way to design your screens/workflow/applications. But I don't think the product needs to add a feature to support requirements like this. Opening new tabs should be an exceptionally rare circumstance in a properly designed Web application, and the OutSystems product is clearly not interested in edge cases.
|ndeed this might not be the place to argue about this, Justin, but trust me that in our specific use-case it makes sense :).
Yes, that's my point, there are a could of use cases where it makes sense, but on the whole, those use cases do not justify a product change. OutSystems doesn't design for the 20%, it designs for the 80%.
Funnily enough, there's several places on the Forum, Forge and Ideas sections where new tabs open :)
Option to link (open in a new window or tab). In the navigate method you already have an option in the target list and also the options of _blank, _self, etc.
Hello all,
It would be great to have in links some default list for targets like
This would prevent having to insert in extended properties and also have errors typing the extended property.
Thank you,
Kind Regards
Hi Capucha,
I agree with your idea, but at least, it would already be very time-saving if there was a "Yes/No" option called "Open in new browser tab" on links with the method set to Navigate.
Cheers!
It would be great if Outsystems itself had the option to add to a link an option to open a new page instead of having to go to extensibility configurations and setting that up, i.e, similiar behaviour as the html target behaviour.
This! When we set a destination of a Navigate action, an extra built-in parameter 'Open In New Page' : Yes/No would be a simple but great addition.
I meant extended properties not configurations, sorry =)
Hello,
Instead of having to put target="_blank" for each link that has a destination behind it, wouldn't it be nicer to have this option in Service Studio?
Regards,
Bogdan
While using External URL and destination screen on same Server action or Screen action, It is very difficult to give target="_blank" or JavaScript to open new tab .
For example:
It would be great if we have option like :
External URL with new tab.
Good idea.
Whenever I need to open a new tab, I end up creating a link with target = "_ blank", and simulate clicking on that link. Certainly, having a direct action option would be better.
Hi Samiksha,
I just added an example of how to do this in Forge. But I still think the idea is very good.
https://www.outsystems.com/forge/component-overview/9748/opennewtab
Hi Eduardo,
Thanks for component.
It is working as per expectation.