APEX 5.1 Open external site page in new window - oracle-apex-5

I am working on APEX 5.1 application and want to get report in a new window when click on the button. Report is made using iReport 5.6.0 and hosted on JasperServer 6.
Button has Action property set to Redirect to URL and the URL is http://localhost:8080/jasperserver/flow.html? ...
I tried with http://url/" target="_blank as suggested here but with no success.
Is it possible to do that and, if yes, how?

This should work. Within the URL Target textarea, place the following code:
javascript:var x=window.open('https://URL/','_blank');

Related

Why Menu "Action" showing duplicate options of one window action in Odoo 10?

I have created a menu Under "Actions" which is running fine on local machine server but where i updated this code on server , the new created option showing twice. Please guide me how to resolve

how to modify pentaho bi server home and login screen

I'm trying to modify the home page and the login screen, trying to remove some images and adding some links but the changes that I am applying doesn't appear to be reflecting. Is there any documentation on how to modify the Pentaho BI Server pages?
Tried the instructions on this thread: http://forums.pentaho.com/showthread.php?153494-Pentaho-CE-5-Customize-Home-Page
apart from the thread you followed for doing changes if you understand JavaScript, Jquery and HTML then you can do modifications in below files according to your need.
biserver-ce\tomcat\webapps\pentaho\mantle\home\index.jsp ---Home Page changes
biserver-ce\tomcat\webapps\pentaho\jsp\PUCLogin.jsp --- Login Page Changes
Just use tapa plugin, avaiable in marketplace, regards
for some reason, the changes will not reflect if I access the BI Server using the localhost url, but if I use the actual IP address of my machine, then I see the changes. Dunno why, but it resolved the issue.

PhantomJS + Selenium , How to se user agent for links that open in new window?

I'm trying to click on a link which opens in new tab (target="_blank") using selenium and phantomjs but the problem is that when phantomjs opens the link, it doesn't set the user agent defined for it using DesiredCapabilities. If the link opens in the current window everything is ok but as soon as it opens in a new window, user agent is the default one !
How can i set user agent globally ? (BTW i'm using python)
After doing some investigation, I found that the problem seem to be from ghost driver. So i checked ghost driver github and found the issue is there from 2013 and there is a temporary solution for that. I write the solution here as it was no result of github issue in google searches (https://github.com/detro/ghostdriver/issues/273) :
Guaranteed solution for links target = "_blank" and window.open - set phantomjs.page.customHeaders.User-Agent in desiredCapabilities. In my case (window.open) may open a new window with the "about:blank" url, then find it in the handles array to activate and surf.
So while it is not recommended to set userAgent in custom headers in selenium documents but it is currently the only way to set userAgent globally so it doesn't change in new windows.
Try this code. working for me.
GetEval("window.open('Url')");
var winHandle = _sel.UnderlyingWebDriver.WindowHandles;
_sel.UnderlyingWebDriver.SwitchTo().Window(winHandle[1]);
_sel.UnderlyingWebDriver.Manage().Window.Maximize();

Dim NewBarcode As New Barcode()

In a class that I have in my web site I'm Importing
Imports IDAutomation.Windows.Forms.LinearBarCode
Imports IDAutomation.Windows.Forms
Also in the code I'm using
Dim NewBarcode As New Barcode()
That Line works fine when I'm running the site in debug mode in my PC localhost:3552
Finaly I'm uploading the code (the all site code) in my ISP Server, when program comes to this line
Dim NewBarcode As New Barcode()
It throws me an error with the following text.
Showing a modal dialogbox or form when the application is not
running in UserInterface mode is not valid. Specify The
ServiceNotification or DefaultDeskTopOnly style to Display a
notification from a service application.
I searcher the Internet about that; but the issue I found was mention only for a messagebox. A control which I don't have it; and I'm not using it.
I suspect that the issue is coming from the
IDAutomation.Windows.Forms
But I don't have any solution for this...
Is there anybody to know how to solve this issue?
The BarCode component you are using is made for winforms, rather than webforms, and will try to show the barcode dialog on the web server, not in the user's browser. It works while testing on your computer because the web server and the web browser are the same machine. When you try to move that code to a real web server, especially one using Windows Server Core (which has no gui), this is the result.

previewing a worklight app in Mobile Browser Simulator opens index.html but not View.html(created by WAF editor) in Worklight 6.1

Just followed the tutorial in the following link and created a worklight weather app but while previewing it on Mobile browser simulator it loads index.html. But created views from data objects using Workligt Application Framework editor.
https://www.ibm.com/developerworks/community/blogs/WASFAQs/entry/building_a_worklight_mobile_application_without_code_in_worklight_v6_1?lang=en
Can anyone please help me, how to set initial view view.html file.
Thanks for your help in advance.
The Mobile Browser Simulator, as the application running on a real device always loads the index.html file. The Worklight Application Framework runtime code dynamically loads the views defined in the view.html file.
To select the initial view to be shown by the Worklight Application Framework runtime:
1) Open the application's common/application.json file using the Worklight Application
Framework editor
2) Go to the Views tab
3) Right click on the view you want shown initially and click on "Set as initial view".
The selected initial view when working in the editor will have it's title bar's background color set to black. Save the application.json file and refresh the application in the Mobile Browser Simulator (if it's still open) by clicking the "Go" button.
Resolved, as of now worklight application framework editor works only with Dojo mobile toolkit.