Embedded hyperlink into new browser tab/window

  Hi Team,
There is a requirement in my project for that, need to open embedded hyperlink into new browser tab/window, hyperlink is available in the pdf file which is open in browser (Internet Explorer).
More than 2 lakh user is using the product so, there is any way to set the hyperlink target as a _blank so that the link open in new tab/window.
Is there any adobe API is there which can support the above requirement?
Is there any other way which can fulfill the requirement?
End user is more than 2 lakh so, am not going to change the setting of Adobe reader as well as browser.
  Need your help to resolve the issues.
Regards,
Rupesh

Yes, there is an API that is supposed to do this in the Web brower.  Does it work?  Not reliably is what I have found because different web browsers seem to interpret the way that Acrobat calls for a new window differently.
launchURL
7.0
S
Launches a URL in a browser window.
Note:    Beginning with Acrobat 8.1, File and JavaScript URLs can be executed only when operating in a privileged context, such as during a batch or console event. File and JavaScript URLs begin with the scheme names javascript or file.
Parameters
cURL
A string that specifies the URL to launch.
bNewFrame
(optional) If true, this method launches the URL in a new window of the browser application. The default is false.
Returns
The value undefined is returned on success. An exception is thrown on failure.
Example 1
    app.launchURL("http://www.example.com/", true);
Example 2
Add an online help item to the menu system. This code should be placed in a folder-level JavaScript file, or executed from the JavaScript Debugger console.
    app.addMenuItem({
        cName: "myHelp", cUser: "Online myHelp",
        cParent: "Help",
        cExec: "app.launchURL('www.example.com/myhelp.html');",
        nPos: 0
Related methods are openDoc and the Doc object getURL method.

Similar Messages

  • How to open my Ireport in new browser tab window

    hi
    I'm using Jdev v 11.1.2.3.0
    Isucced in conneting and calling (ireport) generated report from my adf application in pdf file format
    All what I want to do now is to call or open the report in browser tab window
    I can call it in the same tab window
    using this line code
    response.setHeader("Cache-Control", "max-age=0");
    or
    make attachment download
    using this line code
    response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\"");
    please help me in this last setp
    here is my code to call ireport
    after adding nessesary jar files and Datasource in wedlojic
    maybe it help others
    ============
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.sql.Connection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import oracle.adf.model.BindingContext;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.binding.BindingContainer;
    //import oracle.adf.model.binding.DCIteratorBinding;
    public class mainNew {
    private RichInputText copyFrom;
    private RichInputText copyTo;
    public mainNew() {
    public void setCopyFrom(RichInputText copyFrom) {
    this.copyFrom = copyFrom;
    public RichInputText getCopyFrom() {
    return copyFrom;
    public void setCopyTo(RichInputText copyTo) {
    this.copyTo = copyTo;
    public RichInputText getCopyTo() {
    return copyTo;
    public String cb3_action() {
    String s =(String)copyFrom.getValue();
    String d =(String)copyTo.getValue();
    // copyTo.setValue(s);
    // DCIteratorBinding empIter = (DCIteratorBinding) getBindings().get("Employees1Iterator");
    // String empId = empIter.getCurrentRow().getAttribute("DepartmentId").toString();
    Map m = new HashMap();
    System.out.println(s) ;
    System.out.println(d) ;
    // m.put("eployeeId", copyFrom.getValue() );
    if (s!=null) {
    m.put("whr", "Where department_id ="+s); }
    if (d!=null) {
    m.put("whr", "Where employee_id= "+d);}
    if (s != null & d==null)
    { m.put("whr", "Where department_id ="+s);
    if (s==null & d!=null) {
    m.put("whr", "Where employee_id= "+d);}
    if (s!=null & d!=null) {
    m.put("whr", "Where department_id ="+s +" and employee_id="+d);}
    if (s==null & d==null) {
    m.put("whr", "Where 1=2");}
    try
    // runReport("empRep2.jasper", m);
    runReport("empsDyn.jasper", m);
    catch (Exception e)
    return null;
    public BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public Connection getDataSourceConnection(String dataSourceName)
    throws Exception
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup(dataSourceName);
    return ds.getConnection();
    private Connection getConnection() throws Exception
    return getDataSourceConnection("hrDS");
    public ServletContext getContext()
    return (ServletContext)getFacesContext().getExternalContext().getContext();
    public HttpServletResponse getResponse()
    return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
    public static FacesContext getFacesContext()
    return FacesContext.getCurrentInstance();
    public void runReport(String repPath, java.util.Map param) throws Exception
    Connection conn = null;
    try
    HttpServletResponse response = getResponse();
    ServletOutputStream out = response.getOutputStream();
    /// response.setHeader("Cache-Control", "max-age=0"); // opens in same page
    response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\""); // genreat adownload file
    // response.setHeader("Content-Disposition", "inline; filename=\"" + "Report.pdf\"");//opens in same page
    response.setContentType("application/pdf");
    ServletContext context = getContext();
    InputStream fs = context.getResourceAsStream("/reports/" + repPath);
    JasperReport template = (JasperReport) JRLoader.loadObject(fs);
    template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
    conn = getConnection();
    JasperPrint print = JasperFillManager.fillReport(template, param, conn);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream(print, baos);
    out.write(baos.toByteArray());
    out.flush();
    out.close();
    FacesContext.getCurrentInstance().responseComplete();
    catch (Exception jex)
    jex.printStackTrace();
    finally
    close(conn);
    public void close(Connection con)
    if (con != null)
    try
    con.close();
    catch (Exception e)
    }

    One solution would be to generate the report via an servlet which you then call with an af:golink with an target frame set to blank.
    For a sample how to do this check out http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    Timo

  • OPENING A NEW BROWSER TAB/WINDOW WITHOUT NAVIGATING TO IT

    Hello there,
    I am using flex navigateToUrl( urlRequest, "_blank"); function to open a new browser window. What it does is it also navigates to newly opened window by default. I want to remain in the same page, but still open this new window without focusing it.
    Is there a way to do that
    Thanks.

    I would update your Adobe PDF plug-in first - it is 10.1.7.x and my version says 11.3.x) To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • On Firefox 4, the back button does not work on a new browsing tab or window.

    Ever since I installed Firefox 4, I have noticed a problem that was not present with the previous version of Firefox. Whenever I open up Firefox and enter in a new web address, I cannot use the back arrow to go back to my original homepage; the arrow is ghosted out. The same problem exists when I open up a new browsing tab. Let me explain with an example. I open up my browser, and then I open a new tab (now there are two tabs open). In the new tab I type www.espn.com. Then I click on a link on espn.com. Say then I want to go back to the espn.com homepage that I just previously visited. I can't do it by clicking the back arrow; it's ghosted out. I have to physically type the address again (www.espn.com). Why has this changed? Is there a way to fix it? Why can't I just click the back arrow to go back to the espn.com homepage that I typed in originally (or my original homepage if I opened up a new window instead of a tab)? Oddly enough, if I go one link deeper into the espn.com site, I can then go back to the immediately preceding webpage, but not all the way back to the original espn.com homepage.
    I can't stand IE, but it doesn't have this problem. This problem also was not present on the old version of Firefox. I just verified this by testing the old version which I have installed on another computer.
    Please advise.

    Same problem here: I never had a problem with the previous versions and now I don't even get my homepage when I click Firefox. Instead, I am getting a blank screen that says "New Tab", only after I click the "Home" symbol I get my Homepage (Yahoo). The browser - back and browser forward button don't work anymore, very annoying. Normally a newer version should be an improvement but it looks like Mozilla really messed up with this "improvement". probably I am going to use Google chrome from now on.

  • How to download blob image, inline to new browser tab or window

    APEX V4.2.3
    I have an interactive report with a blob download column which is set to inline.  When I click on the "download" link the image appears automatically in same window as the APEX application.  How do I download the image into a new browser tab?  I need to squeeze 'target="_blank" ' somewhere but I don't know where as the link structure is hidden.
    Here is the code for my download column in the Interactive Report.
    select
    decode(nvl(dbms_lob.getlength(BLOB_CONTENT),0),0,null,
    '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
    'src="'||
    apex_util.get_blob_file_src('P98_BLOB_CONTENT',image_id)||
    '" height="100" width="100" alt="'||FILENAME||'" title="'||FILENAME||'" />')
    as detail_img,
    from "#OWNER#"."TIS_ATTACHMENTS"
    thanks in advance
    PaulP

    I would suggest
    SELECT ID, NAME,CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
      THEN NULL
      ELSE CASE WHEN attach_mimetype like 'image%'
      THEN '<img src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
      ELSE
      '<a  target="_blank" href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
      end
      END new_img
      FROM TEST_WITH_BLOB

  • Open URL from Java in a new browser tab

    Hi OTN,
    Surprisingly can't find the implimintation.
    In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
    Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
    But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
    ADF 11.1.1.4
    Thanks.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

  • Open in a New Browser Tab?

    How do I open in a new browser tab (ex. IE & Firefox)? I
    know how to open in a new window but cannot fins a command or code
    to point to a new browser tab.

    That's because it doesn't exist as far as I know. There is no
    code like <a href ="xxx.com" target="_newTab">.
    That is just an option the user can choose by right clicking
    on a link and selecting "Open Link in a New Tab".
    Just treat the content like it is opening in a new window.
    You can name the new page and then focus in on it as if it is not
    in a tab but a new window.

  • Open Bytearray in new browser tab??

    hi
    I get the content of a file from the database and I want to open the content in an new browser tab.
    The content will be send to the frontend as bytearray.
    What kind of formats could be shown in a browser tab (e.g.: DOC, PDF, EXCEL)?
    is it possible to open a new browser tap to show a bytearray file? How??
    I just found only the possibility to open a pdf with e.g. a coldfusion script.
    I don't use a coldfusion server or something like that.
    How could I do this in PHP. I never used PHP.
    thanks for any advice

    Try this technique in a managed bean method that is invoked by your <af:commandLink>:
    // Invoke your PL/SQL procedure
    // Open the APEX site in a separate browser window
    String apexUrl = ...;
    ExtendedRenderKitService erks = Service.getRenderKitService(ctx, ExtendedRenderKitService.class);  
    String script = "window.open('" + apexUrl + "', '', 'location=0, status=0, resizable=1, scrollbars=0');";
    erks.addScript(FacesContext.getCurrentInstance(), script);Dimitar

  • When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    The drop-down list displays items from your History and/or Bookmarks.
    You can control what shows (or nothing at all): Options > Privacy, "Location Bar" section. Options are:
    *History and Bookmarks
    *History
    *Bookmarks
    *Nothing
    See --> https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • I can no longer open a new browser tab by either clicking the + at the end of the last browser or by using the Ctrl key + T, how do I fix this?

    I have uninstalled firefox and reinstalled firefox to try and solve this
    issue, but it has not fixed the issue. To open a new tab I must right click
    any current page link to get a new browser tab and then navigate to a new web address. This is a recent issue that just started happening and I can't figure out what happened or what got disabled. Please help me fix this.

    Try uninstalling the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.

  • Problem create DataGrid  on the new browser tab with

    Hello.I work Flex  3 Web application .I have a problem  with about create new browser tab.So that I want to create  DataGrid(with data) on the new browser tab.

    Use JavaScript to do this pointing to your DataGrid application and pass some parameters.

  • Can not open new blank tab window from file, new tab.In Tools/Options/Tabs ticked open new windo w in new tab?

    Can not open new blank tab window from file, new tab.In Tools/Options/Tabs I have ticked open new window in new tab?

    The Ask Toolbar is probably causing that in the Firefox 3.6.13 version. Disable that extension or un-install it.

  • Opening Hyperlinks in New Browser Window?

    Hi All,
    Does anyone know how to have keynote open a hyperlink in a new browser window? I have exported my keynote presentation to a quicktime moive and posted it on the web.
    However, when someone clicks on one of the hyperlinks it opens the new website in the same browser window. When they click the Back button to go back to my Keynote quicktime movie it starts the presentation/movie over.
    Any help you may have to offer would be GREATLY appreciated! Thank you!

    Hi All,
    Does anyone know how to have keynote open a hyperlink in a new browser window? I have exported my keynote presentation to a quicktime moive and posted it on the web.
    However, when someone clicks on one of the hyperlinks it opens the new website in the same browser window. When they click the Back button to go back to my Keynote quicktime movie it starts the presentation/movie over.
    Any help you may have to offer would be GREATLY appreciated! Thank you!

  • PDF viewer into new browser window

    Hello,
    I use following code to open new browser window with PDF file. The URL passed to the method is link to SICF service which returns the PDF in the request with content-type = 'application/pdf'. New window is open with correct URL, but the content is not displayed - Refresh or Go button has to be pressed to display it. Don't you experience similar problem? Is this WD error or some IE security setting?
    Thank you and best regards,
    Ludek
      lr_window = lr_w_manager->create_external_window(
          url = ld_url
          title = ''
          modal = abap_false
          has_menubar = abap_true
          is_resizable = abap_true
          has_scrollbars = abap_true
          has_statusbar = abap_true
          has_toolbar = abap_true ).
      lr_window->open( ).

    Hi Ludek,
    Probably a compression problem. Have you turned off gzip compression for the pdf?
    Btw, an alternate solution without having a separate handler is to use the cl_wd_runtime_services=>attach_file_to_response() method.
    Best regards,
    Thomas

  • Cflocation problem, opening new browser tab

    I have a cfform with several submit buttons. The form action is itself and depending on what submit button is pressed a different function from a cfc is invoked and then I'm trying to use cfloaction to launch a new page. When this happens it is opening a new tab in both fire fox and IE instead of opening the new location within the same browser tab. From reading the documentation for cfloaction this should not be happening and I do not want it to launch in a new window. What could be causing this to happen?

    Hi John,
    I agree with Adam on the <cflocation> tag. I suspect it is a browser setting.
    Like in FireFox
    Tools/Options/Tabs
    [X] Open new windows in a new tab
    Like in IE,ver7
    Tools/Internet Options/General Tab/Tab Section/Settings button
    then bottom section "Open links from other programs in"
    [X] A new tab in the current window
    Try unchecking these boxes and then try your process again. Not
    saying this will correct your issue, but does seem like a browser
    issue to me as well and not <cflocation>
    Leonard

Maybe you are looking for

  • No text on my Mac mini?

    Hi, I have a Mac mini here at work, which was working fine when I left it Friday. When I came back, the desktop background was there, but all my windows were just white with no text, no buttons, no graphics. My menu bar is completely blank, and my de

  • How do I get existing GPO settings to recognize new admx/adml files?

    I built a Central Store 2 years ago.  I just copied the latest IE admx/adml files to the appropriate sysvol location.  When I open GPMC and go to a specific GPO, and then go into User Config > Preferences > Control Panel Settings > Internet Settings

  • Change of notation

    I have a simple table with 30 rows and 4 columns. The columns represent Description, Unit Price, Quantity, Total Price. It behaves fine, multiplying the Unit Price by Quantity to give Total Price. There is a condition where if a cell in another table

  • Swing Labels and IE 5.0

    Has anyone had any problem with IE 5.0 and using Swing Labels and Buttons. My labels keep getting cut off using IE5. For example : I have a JLabel with text = "Customer Name". It looks fine in Jdeveloper. When I deploy it to IE5.0, I get "Custom..."

  • SAP R/3 CS - BP search

    Hello Has anyone know which what function module searching of Business Partner is done in CIC0 in CS module? I have found function group CCM4 with modules and screens for CIC, but there is no FM that physically searches for BP. Regards Radek