FORMS - Links opened as new window end up in a browser tab

Is there any way to force the browser to open an SC field link in a new window?

For forms linked to select fields, SC will open them in a new windows if they are set as “Modal: No”.

I’d like to have the same behavior with field links. But even if the Link Operation Mode is set as “Open in another Window”, the linked form is opened in a browser new tab and not a new window.

Maybe the jscript function written by NetMake to open those links doesn’t set the height\widths parameters when it calls ‘window.open’?

This seems to be a possible cause according to this link at stackoverflow


[I][SIZE=15px]Example:[/SIZE][/I]  
 [SIZE=14px][I]window.open(url, windowName, "height=200,width=200");[/I][/SIZE]  [SIZE=15px]
[I]When you specify a width/height, it will open it in a new window instead of a tab.[/I][/SIZE]
 

If so, @NetMake: can you please add the width\height parameters and expose them to the SC GUI? By setting the window size we will also be sure that the window is opened in a new window and not in a browser tab.

I think that is controlled locally on the browser options
I seem to remember having the same issue a while ago

Well, definitely the SC function that opens the linked app in a new window has some parameters:

 function nm_submit_cap(apl_dest, parms)
 {
    document.FCAP.action = apl_dest;
    document.FCAP.nmgp_parms.value = parms;
    window.open('','jan_cap'[B],'location=no,menubar=no,resizable,scrollbars,status=no,toolbar=no'[/B]);
    document.FCAP.target = "jan_cap";
    document.FCAP.submit();
 } 

They are not the width\height I suspected, but they still do the trick: the application (apl_dest) is opened in a new browser window and not in a browser tab.

So it would be great if NetMake could add another option to the link operation mode that would use the same trick.

Have to double check, but I think the same issue applies to the sc_link function: links to new window will actually open in a browser tab.