SRW.SET_HYPERLINK - Handle SPACE in filename AND open in NEW WINDOW

Report 10g (10.1.2.3.0 - 32bit on Windows 7 64bit)
Issue #1:
using srw.set_hyperlink to get a handle on *.pdf file on remote server. Report is launched as PDF. PDF that is opened via the URL launches in same window as report. I need run report as PDF, click hyperlink to get handle on another file which should launch in New Window.
SRW.SET_HYPERLINKATTR only useful with HTML and HTMLCSS. Javascript? If so, sample code?
Issue #2:
possible that file retrieved will have spaces in its name. Hyperlink defaults %20 in the spaces of the name, but the link does not successfully retrieve file. Tried replacing spaces w/ %20, but like defaults does not retrieve document; due to actual file name not having the %20 in its actual name. Is there are way to account for the spaces in the URL then "remove" them to find the correct file and open in new window?
Tried using virtual path as well as physical path.
Help with either or both issues is truly appreciated,
Thanks!!

Hello,
When you set the property "Hyperlink", the property "Additionnal Hyperlink Attributes (HTML)" is displayed. Set this property to :
target="_blank"
Regards

Similar Messages

  • HTML-DB OAE Javascript to close current window and open a new window

    Hi everybody,
    We work with 1.6.
    What we want is to close the current window and open a new window with the URL mentionned in the window.open('http://www.cf.qc/pls/portal/PORTAL.....,'newwindow').
    The new window opening fires only once although we call it many times.
    Our javascript is:
    function closeTest()
    { alert('closeTest');
    if('&REQUEST.'=='QUITTER2'){     
    w = window.self;
    w.opener = w;
    w.close();
    window.open('http://www.cf.qc/pls/portal/PORTAL.home','newwindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
    We call it on our application attributes :
    OnLoad="closeTest()"
    Thanks. Bye.

    Try this on for size:
    I have included two functions.
    windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
    myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
    Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
    <script language="JavaScript1.1" type="text/javascript">
      This functions is for internal application use.
      Examples of myLocation:
      url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
      url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
      url = myLocation('184', '10');
    function myLocation(myApp, myPage){
      var myHost = location.host;
      var newURL;
      newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
      return newURL;
    /*  Function windowRebuild()
    *   This function will open a new window and close the old window.
    *   This function will also maximize the new window and remove all toolbars.
    function windowRebuild(){
       if(window.name != 'myAppWin'){
        var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
        var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
        window.opener = 'x';
        window.close();
       if(window.name == 'myAppWin'){
        window.moveTo(0,0);
        window.resizeTo(screen.availWidth,screen.availHeight);
    </script>Let me know if that works or you need some more explanation.
    Chris

  • When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs

    When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs
    == This happened ==
    Every time Firefox opened
    == Noticed yesterday, June27, 2010

    i just went into preferences, deleted what was in the home page, and entered a new home page address which solved the problem, 

  • Firefox opens the old browsing window (previous session) every time i try and open a new window, how do I change this back?

    Every time I go to open a new window, the old one will come up instead. For a while it was working fine, then I kept needing the old window and would use the 'restore previous session' feature to access this. However, even after I didn't need it anymore (and without me selecting the feature, it would still open the previous session.

    Tools > Options > General > Startup: "When Firefox Starts": "Show my home page" "Show a blank page"
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js [2] and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • I can no longer hold down the Safari icon on the dock and open a new window

    I noticed after installing Snow Leopard that I am unable to hold down the icon for Safari on my dock and choose the option to open a new window. I have had to revert to (Command-Tabbing) through my open applications to get to Safari, then (Command-N).
    I found it much more convenient to do it the other way. Am I missing something, or is this something that has been removed with the new Snow Leopard operating system?
    Please help. Thanks!

    Thank you. What a pain though. Why would they make it a separate command now. It would be so easy to have kept it in the pop-up that shows when you hold the cursor down on it.

  • Open in New Tab and Open in New Window have switched places, how to revert?

    I was glad to find as i logged in today that Firefox had a update ready. I was even more excited when i learned that the browser itself has been updated. And while all these new and exciting things make Firefox an amazing choice for a browser, im at my wits end on this little change that is annoying the hell out of me.
    Apparently between 3.6 and the new Firefox, when you right click on a link, you see Open in New Window in the spot where Open in New Tab was. This may not seem like a big deal, but to a person who has been opening windows in tabs since tabbed browsing came out, i absolutely hate having multiple windows open.
    When i right click on a link, its an automatic reflex for me to open it in a new tab, but now i cant. Each time i end up opening a window instead. Is there an easy fix to this little problem that's driving me insane?

    Opening order of Tabs in 4.0.1
    To make TABS open to the right within each browser window in the same order as you opening them:
    What to do:
    Open a second window so you can read these instr.
    Enter "about:config" in URL address bar.
    Get a warning - 'Are you sure / advanced settings...blah, blah. '
    Click YES
    Scroll down the page until you find the described line:
    "browser.tabs.insertRelatedAfterCurrent"
    Find it a ways down, then right click on the line to then TOGGLE the menu pop-up option to "FALSE" DONE !
    It worked immediately, no need to restart.
    My tabs now all open to the right in order of them being opened.
    Nice.
    Thank you 'Platon' from a different Mozilla help site.

  • AF Table-CommandLink and Open in New Window issue

    I am using af:table to display the result set and inside the af:table i use af:commandLink to display the link to users. When the user clicks the individual link , user will go to the correponding detail page which is working fine.
    But the problem is if i right click the commandLink from the browser and click "Open in New Window" in IE or "Open Link in New Window" . it opens a new window and displays the same page instead the detail page.
    My requirement is when user click the link user should see the corresponding detail page - which is working fine now.
    But when user clicks open in new window from browser in the new window user should see the corresponding detail page. How do i accomplilsh this scenario.
    Any help would be highly apprciateable..

    Hi Frank, thanks for the quick reply. But if u think of the end user, most of user always right click and click open in new browser to see the details. so that they can stay the results page. ..
    Do you mean, any link navigation in ADF faces, dont work if we click "open in new window"?

  • Links browser and open in new window

    I have 2 problems with links and elinks. All time when I type "open in new window" it work but it open always in xterm, not in the same terminal I`m using at that moment for example mrvxt
    Second problem is that I can`t open new tab normal or in background in elinks or links-g
    Last edited by yellowfox (2008-03-20 19:39:16)

    I tried to change variable TERM in .bashrc  or in /etc/profile but I saw in console only
    Error opening terminal: mrxvt.
    When I set this variable to "xterm" I had`t see any message as above
    I read too some about infocmp, this commned show some info included in /usr/share/terminfo about terminals but I found only info about xterm
    infocmp Terminal
    infocmp: couldn't open terminfo file /usr/share/terminfo/T/Terminal.
    infocmp mrxvt
    infocmp: couldn't open terminfo file /usr/share/terminfo/m/mrxvt.
    infocmp xterm
    # Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm
    xterm|xterm terminal emulator (X Window System),

  • JavaScript and "Open In New Window" not working.

    I've been using Safari 5 since it came out and there were no problems. But recently my JavaScript has stopped working. Whenever I click on a link that is supposed to run a script nothing happens. Similarly when I click a link that is supposed to open automatically in a new window, nothing happens. I've tried reseting Safari but that did not help. I had this same issue with Safari 4 and the update to 5 solved it, but now I do not know what to do.

    HI and welcome to Apple Discussions...
    From the Safari Menu Bar click Safari/Preferences then select the Security tab.
    Make sure Java is enabled.
    And, from a Finder window select your Home Folder in the Sidebar on the left. Then open the Library folder, then the Caches folder, then the com.apple.Safari folder. Move the cache.db file to the Trash.
    Relaunch Safari. If you still have problems, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
    Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
    I had this same issue with Safari 4 and the update to 5 solved it, but now I do not know what to do.
    If nothing above helps, install the v10.6.4 Combo Update
    Then repair permissions.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and *restart your Mac*.
    Carolyn

  • Tabs disappear and open a new window when editing files in Wordpress

    When editing files in Wordpress built-in code editor, if I highlight and try to copy/paste to another file or even within the same file the tab I am on will often abruptly close and then reopen itself in a whole new window. This is extremely disruptive. I have to close the window that popped open and go back to my browser instance with the open tabs and create a new tab for that page then restore my tabs in their previous order. The have to do it all over again a few minutes later.
    Never had any type of trouble like this with previous versions of Firefox, and nothing else has changed on this PC.

    Hi Nicolas,
    I don't know about a pop-up, but if you are trying to open a page (page 2) in a new window (internet explorer window), then do the following:
    Instead of using a navigate pushbutton, use a hyperlink component.
    In the URL selection option insert the URL (web address) of page 2. You can find the URL by going to SE80, in the repository browser select "BSP Application" and "THE TECHNICAL NAME OF YOUR BPS". Open your BSP and go to the folder "pages with flow logic" and find your "page 2". Double click on your page and then select the "properties" tab and navigate to the bottom where you will see the pages URL.
    Insert this URL address into your hyperlink component back in the Web Interface Builder.
    Leave the Target selection as parent. Make sure your internet explorer enhanced options are set to "not reuse the same window" under the browser options.
    Good luck.
    Rael

  • HTML Snippets and Opening in New Window?

    Hello,
    New to iWeb and this forum. Have been developing a site and I have been using an html snippet on one page. I would like to have that page open in a new window, therefore, I would like the link to that page to open the window. I know about the "check box" when creating links that makes this happen. However, as this is in the navigational menu on the top of the page, there isn't an option for this in iWeb.
    Can you help please? Thanks in advance.

    Koeklin,
    Thanks for the reply. I was trying to do this a different way, and I'm sorry if I haven't expressed myself clearly.
    I have been using Blogspot for a company blog. I wanted to incorporate this blog into my iweb site. However, I don't want to lose what I have already done in Blogspot (can this easily be transferred? I don't know).
    So what I was doing was this...
    I have on my site a page labeled "blog." When this link is clicked, I show, via html snippet, the blog from Blogspot, but because of how the snippet shows on my page, it does not show the menu at the top of the Blogspot page (which is what I would like). I'm trying to make the blogspot blog appear to be an original part of my site, even though it isn't. I was hoping to have this blog page open in a new window with the Blogspot blog present on my blog page. I'm pretty sure everyone is confused by now...
    Or, maybe to make things easier, is there a way to incorporate a "back" button on this page to go back to the site?
    I'm sorry if this is confusing....

  • Finder is not working properly mac osx 10.7.4 it no longer launches a new window when I click the finder icon - I have to right click and open a new window

    Hi
    Just recently Finder has stopped behaving as it normally would. Clicking the icon doesn't seem to launch the finder window. I have to right click the finder icon and then click New Finder Window. Sometimes there is no response for sometime and then finally it does open a window. If I click finder when a wondow is open it does not shift focus to finder anymore. I am sure this did not use to be the case?
    PS. not sure if this is how to put things on the forum as haven't used them before!
    Julian

    Click on the spotlight icon in the top right of your screen (looks like a magnifying glass), type
    Terminal
    and press 'return'.
    In the window that opens up, paste or type this exactly into the window
    killall Finder; killall Dock
    (that's case sensitive) and press 'return'.
    You'll notice the Dock disappear for a second or two then return, as do any open Finder windows.
    Test using Finder as normal. Same problem?

  • Ads keep appearing on my webpages and opening in new windows

    Help! My macbook pro all of the sudden shows ads while I am navigating on safari. And it will open random ads in new windows while I am using safari. I haven't downloaded any new programs or anything? It just all of the sudden began a few days ago. Any idea how to get rid of the problem!? I LOVE mac's, but I HATE this!!

    Identify and remove adware/malware
    http://www.thesafemac.com/arg/
    http://www.thesafemac.com/mmg/
    Adware Removal Tool
    http://www.thesafemac.com/art/

  • When I have minimized additional windows and open another new window, the previously minimized windows show up underneath the new one, and I have to minimize them all again. This is quite annoying, how do you make it stop?

    This has only been happening since upgrading to Firefox 4.0.

    This issue can be caused by the ASK.com Toolbar.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Has "open in new page" and "open in new tab" been swopped?

    I am constantly opening new pages instead of new tabs.
    Have the two right click functions been swopped and is it possible to swop them back?

    Yes they have been swapped. Open in New Tab is now first (formerly second) and Open in New Window is now second (formerly first).
    You can change the order with this Extension: https://addons.mozilla.org/en-US/firefox/addon/menu-editor/
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe Shockwave for Director Netscape plug-in, version 11.5.9.615
    *Adobe PDF Plug-In For Firefox and Netscape
    *Shockwave Flash 10.3 r181
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

Maybe you are looking for

  • My PowerBook G4 won't start

    Hello all, I have a PowerBook G4 (running Mac OS X Tiger 10.4.11) that was handed down from my auntie and uncle who have long since upgraded. I presume it was unused for a long period of time with the battery still in because the battery is totally d

  • Album Has Stopped!

    Xperia Z Tablet, Jelly Bean 4.3 I have an issue with Thumbnails viewed via Maps or Globe in the Album App. You can scroll though 15 to 20 thumbnails at one location then the Message 'Unfortunately, Album has stopped' appears, the program stops and yo

  • Control key doesn't stop skimming

    I understand "skimming" means that when I hover over my clip, the play line will move along it. Often I don't want this, e.g. I need to reach the menu but now the play line will move all around. I've read in different places that holding down the Con

  • Overlapping mousleave & click

    Hey all, So I'm not sure how to best handle this issue. I have a mouse enter/mouseleave event on each item and I intend to animate each item and have price/purchase info fly in. I've set this up on the black set of drawers on the right of the picture

  • Remote connect to home network

    I will be on vacation and taking my laptop. I would like to connect to my Mini back home.I am file sharing with the Mini through a wireless connection - Airport Extreme. I will have WiFi at my Vacation destination. I believe I use my IP address to ma